Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » manually allocate a @GeneratedValue
manually allocate a @GeneratedValue [message #488350] Mon, 28 September 2009 07:16 Go to previous message
Tom Eugelink is currently offline Tom Eugelink
Messages: 801
Registered: July 2009
Senior Member
I've been wrestling with locking and EclipseLink's caching for a few weeks now and decided to implement my allocation locking using native queries. This however involves creating new entities that get their PK's from a sequence table so now I need to allocate a new value manually.

Is there a easy way to invoke the "get me the next PK for xxx"?

Tom
 
Read Message
Read Message
Read Message
Previous Topic:release plans
Next Topic:createEntityManagerFactory() returns null in RichClient application
Goto Forum:
  


Current Time: Sun May 19 02:20:41 EDT 2013

Powered by FUDForum. Page generated in 0.02100 seconds