Forums Register Login

Hibernate annotation equivalent for <composite-id> tag

+Pie Number of slices to send: Send
Hi,

I have a table made up of 4 columns. There's no primary key column on the table, But every row will be unique if each of the columns make up the <composite-id>

I'm planing to get my classes mapped using annotations, but can't seem to find the annotation equivalent for <composite-id>

Any suggestions?


Thanks,
Vighnesh
+Pie Number of slices to send: Send
I would challenge you to a battle of wits, but I see you are unarmed - shakespear. Unarmed tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 4183 times.
Similar Threads
[Hibernate] composite-id and table-per-hierarchy
updating records, for a table without primary key.
Query Question
Getting a 'BatchUpdateException' error message
SQLInsert annotation and composite ids
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 22:05:53.