This content has been marked as final.
Show 1 reply
-
1. Re: can i use oracle sequence for primary key in cmp ejb?hel
lafr Sep 26, 2006 3:29 PM (in response to wxjpxp)Using XDoclet you have to put
* @jboss.entity-command name="oracle-sequence"
* @jboss.entity-command-attribute name="sequence" value="Name of the Sequence to use"
at class level.
This leads to<entity-command name="oracle-sequence"> <attribute name="sequence">Name of the Sequence to use</attribute> </entity-command>
in jbosscmp-jdbc.xml as child of the matching entity element.