(no subject) [message #692539] |
Mon, 04 July 2011 16:58 |
Juergen Kissner 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 (wiki.eclipse.org/EclipseLink/Examples/JPA/PrimaryKey) 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?
--Juergen
|
|
|
Powered by
FUDForum. Page generated in 0.02335 seconds