This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Primary key assigned / sequence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Primary key assigned / sequence" Watch "Primary key assigned / sequence" New topic
Author

Primary key assigned / sequence

Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
Hi
I have a case where the primary key for an entity can be "generated and assigned" by an external system or generated by an oracle "sequence".

What is the cleanest way to achieve this in Hibernate 3.6.10.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Primary key assigned / sequence
 
It's not a secret anymore!