Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » @GeneratedValue(strategy=GenerationType.AUTO) (How to configure the default for EclipseLink?)
@GeneratedValue(strategy=GenerationType.AUTO) [message #692531] Mon, 04 July 2011 16:58 Go to previous message
Juergen Kissner is currently offline Juergen KissnerFriend
Messages: 25
Registered: March 2011
Junior Member
I have been playing with @GeneratedValue(strategy=GenerationType.AUTO) on various database platforms.

The HowTo on primary key generation ( says:
"Typically, EclipseLink picks TABLE as the strategy, since it is the most portable strategy."

The adverb "Typically" seems to indicate that the strategy EclipseLink picks for GenerationType.AUTO can be configured.

Is there a way to influence EclipseLink's choice in such a way that the strategy for GenerationType.AUTO depends on the selected database platform?

Read Message
Read Message
Read Message
Previous Topic:(no subject)
Next Topic:(no subject)
Goto Forum:

Current Time: Sat Jul 22 09:07:24 GMT 2017

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

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