[jboss-user] [EJB 3.0] - EJB 3.0 - PK Generation with GenerationType
wikijuarezjunior
do-not-reply at jboss.com
Tue Sep 12 17:48:27 EDT 2006
Hi there,
The types of primary key generation are defined by the GenerationType enum as shown below (from the ejb-3_0-fr-spec-persistence.pdf Final release):
public enum GenerationType { TABLE, SEQUENCE, IDENTITY, AUTO };
But as far as I understood there's no way to use user defined key strategy, i mean, what if I want to generate the keys myself?
Please accept my apologies if there's another thread here regarding this issue but I've not been able to find it.
Can't we use legacy databases with EJB 3.0??? Please could someone help?
Thanks in advance!
BR,
Juarez Jr
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971129#3971129
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971129
More information about the jboss-user
mailing list