I am just want to know is id element is necessary in hibernate.I know it's good to have a primary or composite primary for each relation but i am just want to know if it's possible or not.If yes can some one please give me an example.
Asked
Active
Viewed 174 times
0
-
1Uhh... you could just, I dunno, try it out? – hd1 Jun 06 '14 at 05:18
-
possible duplicate of [Hibernate and no PK](http://stackoverflow.com/questions/767277/hibernate-and-no-pk) – Vaibhav Jain Jun 06 '14 at 08:51
-
Vaibhav i dont want any tricks and traps,jus want to know if hibernate simply supports this type of entities or not. – Kumar-Sandeep Jun 06 '14 at 09:35