Hi All,
I am new to Hiberante. I am not very clear on how to configure a table with a composite key. I am using apache derby. But this is a very basic question. I read the documentation and worked on it. I am still not there . I see a "Could not parse mapping document from resource xyz.hbm.xml."
My question is how to configure a composite key (in a hbmxml) and pojo for the table C below.
Table A
Id_a - (PK)
Name_a
Table B
Id_b - (PK)
Name_b
Table C
Id_a - (PK ....FK from table A)
Id_b - (PK ....FK from table B)
Name_c
Thankq in advance,
Mitr.
|