On Jan 18, 8:30 am, Andre Rothe <andre.ro... DeleteThis @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
>> Stay informed about: Hibernate: table without primary key