Can JBoss do automatic primary key sequence generation for EJB CMP's ?
WebLogic has this functionality ...
http://edocs.bea.com/wls/docs61/ejb/cmp.html#1066165
And I'm trying to port an app that uses WebLogic's automatic-key-generation to JBoss. Anyone knows if this can be done without me recoding the app?
WebLogic has this in the weblogic-cmp-rdbms-jar.xml
<automatic-key-generation>
<generator-type>NAMED_SEQUENCE_TABLE</generator-type>
<generator-name>MY_SEQ_TABLE</generator-name>
<key-cache-size>10</key-cache-size>
</automatic-key-generation>
Thanks,
Trev
Yes,
This is supported in jboss3.2
See the CMP forum for details of the different
methods.
Regards,
Adrian