From: Jeremy B. <jb...@us...> - 2003-05-07 05:43:45
|
User: jboynes Date: 03/05/06 22:43:44 Modified: src/etc/conf/default Tag: Branch_3_2 standardjbosscmp-jdbc.xml Log: Added a key generator for Oracle using a sequence with insert returning Revision Changes Path No revision No revision 1.39.2.16 +7 -1 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml Index: standardjbosscmp-jdbc.xml =================================================================== RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml,v retrieving revision 1.39.2.15 retrieving revision 1.39.2.16 diff -u -r1.39.2.15 -r1.39.2.16 --- standardjbosscmp-jdbc.xml 6 May 2003 17:32:11 -0000 1.39.2.15 +++ standardjbosscmp-jdbc.xml 7 May 2003 05:43:44 -0000 1.39.2.16 @@ -7,7 +7,7 @@ <!-- --> <!-- ===================================================================== --> -<!-- $Id: standardjbosscmp-jdbc.xml,v 1.39.2.15 2003/05/06 17:32:11 jboynes Exp $ --> +<!-- $Id: standardjbosscmp-jdbc.xml,v 1.39.2.16 2003/05/07 05:43:44 jboynes Exp $ --> <jbosscmp-jdbc> @@ -2130,6 +2130,12 @@ <!-- this command requires auto-increment element for unknown-pk --> <entity-command name="mysql-get-generated-keys" class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand"/> + + <!-- this command requires the specified sequence to have been created --> + <entity-command name="oracle-sequence" + class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCOracleCreateCommand"> + <attribute name="sequence">TEST_SEQUENCE</attribute> + </entity-command> <!-- retrieves generated key of the record inserted into hsql db --> <entity-command name="hsqldb-fetch-key" |