Hi,
How to create primary key using hibernate?
Thanks,
Hi,
Every relational table has a "natural" primary key. However, it may be unrecognized and undefined. To create primary key using hibernate we need to specify the key generation techniques in hibernate?s XML mapping file.
Here is syntax for Primary key in hibernate
For more visit this link : http://www.roseindia.net/hibernate/
Thanks,
Ads