A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
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 get a String randomly?
Hibernate 3 Set Primary Key with code
Unexpected behavior with sequence and trigger
which generator type to use..?
How to avoid duplicate inserts in JPA HQL (EJB 3.0 - Java EE 5)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015