This content has been marked as final.
Show 2 replies
-
1. Re: Using Oracle Sequence for CMP Entity Beans
atonyd Sep 17, 2004 6:08 AM (in response to soheil)I've a similar problem but with SQL Server "auto numbering" identity fields.
I'll be facing your problem in the next few weeks as we are due to start a port to Oracle.
If you find an answer can youy post it to the list. -
2. Re: Using Oracle Sequence for CMP Entity Beans
lafr Sep 17, 2004 4:37 PM (in response to soheil)In jbosscmp-jdbc.xml you have to put in something like this for every entity which has a field filled by a sequence:
<entity> .... <entity-command name="oracle-sequence"> <attribute name="sequence">afsta_seq</attribute> </entity-command> </entity>