From: Scott M S. <st...@us...> - 2005-01-26 18:51:46
|
User: starksm Date: 05/01/26 10:51:39 Modified: src/etc/conf/default Tag: Branch_4_0 standardjbosscmp-jdbc.xml Log: Integrate the Oracle Sequence Create Command (one sequence per table) from Guillaume Compagnon defined in JBAS-810. Revision Changes Path No revision No revision 1.84.2.6 +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.84.2.5 retrieving revision 1.84.2.6 diff -u -r1.84.2.5 -r1.84.2.6 --- standardjbosscmp-jdbc.xml 6 Jan 2005 12:26:23 -0000 1.84.2.5 +++ standardjbosscmp-jdbc.xml 26 Jan 2005 18:51:35 -0000 1.84.2.6 @@ -9,7 +9,7 @@ <!-- --> <!-- ===================================================================== --> -<!-- $Id: standardjbosscmp-jdbc.xml,v 1.84.2.5 2005/01/06 12:26:23 noelrocher Exp $ --> +<!-- $Id: standardjbosscmp-jdbc.xml,v 1.84.2.6 2005/01/26 18:51:35 starksm Exp $ --> <jbosscmp-jdbc> @@ -2881,6 +2881,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"> |