From: Scott M S. <st...@us...> - 2005-01-26 01:17:17
|
User: starksm Date: 05/01/25 17:16:59 Modified: src/etc/conf/default standardjbosscmp-jdbc.xml Log: Integrate the Oracle Sequence Create Command (one sequence per table) from Guillaume Compagnon defined in JBAS-810. Revision Changes Path 1.90 +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.89 retrieving revision 1.90 diff -u -r1.89 -r1.90 --- standardjbosscmp-jdbc.xml 6 Jan 2005 14:46:46 -0000 1.89 +++ standardjbosscmp-jdbc.xml 26 Jan 2005 01:16:30 -0000 1.90 @@ -9,7 +9,7 @@ <!-- --> <!-- ===================================================================== --> -<!-- $Id: standardjbosscmp-jdbc.xml,v 1.89 2005/01/06 14:46:46 noelrocher Exp $ --> +<!-- $Id: standardjbosscmp-jdbc.xml,v 1.90 2005/01/26 01:16:30 starksm Exp $ --> <jbosscmp-jdbc> @@ -2882,6 +2882,12 @@ <attribute name="sequence">TEST_SEQUENCE</attribute> </entity-command> + <!-- this command makes the use of a specific sequence for each table --> + <entity-command name="oracle-table-sequence" + class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCOracleSequenceCreateCommand"> + <attribute name="sequence_name">%%t_seq</attribute> + </entity-command> + <!-- retrieves generated key of the record inserted into hsql db --> <entity-command name="hsqldb-fetch-key" class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCHsqldbCreateCommand"> |