A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Object Relational Mapping
Primary key assigned / sequence
Joined: Oct 27, 2003
Apr 22, 2014 10:56:17
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:
subject: Primary key assigned / sequence
How to avoid duplicate inserts in JPA HQL (EJB 3.0 - Java EE 5)
Hibernate 3 Set Primary Key with code
How to get a String randomly?
which generator type to use..?
Unexpected behavior with sequence and trigger
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014