Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Multiple TableGenerators per Entity(Multiple TableGenerators per Entity)
Multiple TableGenerators per Entity [message #642266] Tue, 30 November 2010 16:12 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: November 2010
Junior Member
Is there a way to create multiple Generators per Entity? I have a need for two in one entity but can not get both to fire (only the second one is executed). I have gotten around this by executing a named query in a @PrePersist method but this seems 'dirty'. Any help will be greatly appreciated.
Re: Multiple TableGenerators per Entity [message #642786 is a reply to message #642266] Thu, 02 December 2010 16:54 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Only one generated value is supported.

The event is your best workaround, please log an enhancement to have support for multiple added.

James : Wiki : Book : Blog : Twitter
Previous Topic:StoredProcedureCall RETURN nested table/array
Next Topic:Shared Cache not working when using eclipselink with Spring
Goto Forum:

Current Time: Tue Mar 31 00:06:55 GMT 2020

Powered by FUDForum. Page generated in 0.01373 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top