| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi, Is there a possibility in Hibernate to create a table without a primary key (without the @Id annotation)? I set up a with a dummy key, but I hate this solution. Thanx Andre |
|
#2
| |||
| |||
| On Jan 18, 8:30 am, Andre Rothe <andre.ro...@imise.uni-leipzig.de> wrote: > Hi, > > Is there a possibility in Hibernate to create a table without a primary > key (without the @Id annotation)? I set up a with a dummy key, but I > hate this solution. > > Thanx > Andre No. Hibernate uses the primary key as a method of keeping identity. Dummy key is fine -Avinash |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.