eclipse « Composite « JPA Q&A

1. hibernate creates problem for table with composite primary key while generating hibernate classes with eclipse

I have 2 tables as given below.


question_id number(primary key) answer_id number (primary key) answer_en varchar2(255) answer_it varchar2(255)


verification_id number(primary key) question_id number(foreign key - feedback_answer) answer_id number(foreign key - feedback_answer)
I am getting following error for hibernate after ...

2. Why is this JPA 2.0 mapping giving me an error in Eclipse/JBoss Tools?

I have the following situation: Valid XHTML JPA 2.0 mappings (It might probably suffice to consider only the Zip and ZipId classes as this is where the error seems to come ...