wood burning stoves
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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Primary key assigned / sequence" Watch "Primary key assigned / sequence" New topic

Primary key assigned / sequence

Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 258
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.

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