arminw 2005/08/16 13:14:39
Modified: src/test/org/apache/ojb Tag: OJB_1_0_RELEASE
repository_database.xml
Log:
add new sequence creation properties
Revision Changes Path
No revision
No revision
1.22.2.13 +20 -6 db-ojb/src/test/org/apache/ojb/repository_database.xml
Index: repository_database.xml
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository_database.xml,v
retrieving revision 1.22.2.12
retrieving revision 1.22.2.13
diff -u -r1.22.2.12 -r1.22.2.13
--- repository_database.xml 12 Aug 2005 16:33:53 -0000 1.22.2.12
+++ repository_database.xml 16 Aug 2005 20:14:39 -0000 1.22.2.13
@@ -108,13 +108,27 @@
<attribute
attribute-name="dbcp.accessToUnderlyingConnectionAllowed"
attribute-value="false"/>
</connection-pool>
- <!-- alternative sequence manager implementations, see docs section
"Sequence Manager" -->
+ <!-- alternative sequence manager implementations, see "Sequence
Manager" guide -->
<sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
- <!-- attributes of SequenceManagerHighLowImpl, please see docs
section "Sequence Manager" -->
- <attribute attribute-name="grabSize" attribute-value="20"/>
+ <!-- attributes supported by SequenceManagerHighLowImpl,
+ SequenceManagerInMemoryImpl, SequenceManagerNextValImpl
+ please see "Sequence Manager" guide or/and javadoc of class for
more information -->
+ <attribute attribute-name="seq.start" attribute-value="200000"/>
<attribute attribute-name="autoNaming" attribute-value="true"/>
- <attribute attribute-name="sequenceStart" attribute-value="0"/>
- <attribute attribute-name="globalSequenceId"
attribute-value="false"/>
+
+ <!-- attributes supported by SequenceManagerHighLowImpl
+ please see "Sequence Manager" guide or/and javadoc of classes
for more information -->
+ <attribute attribute-name="grabSize" attribute-value="20"/>
+
+ <!-- optional attributes supported by
SequenceManagerNextValImpl, please
+ see "Sequence Manager" guide or/and javadoc of classes for more
information -->
+ <!-- attribute attribute-name="seq.incrementBy"
attribute-value="1"/ -->
+ <!-- attribute attribute-name="seq.maxValue"
attribute-value="999999999999999999999999999"/ -->
+ <!-- attribute attribute-name="seq.minValue"
attribute-value="1"/ -->
+ <!-- attribute attribute-name="seq.cycle"
attribute-value="false"/ -->
+ <!-- attribute attribute-name="seq.cache" attribute-value="20"/
-->
+ <!-- attribute attribute-name="seq.order"
attribute-value="false"/ -->
+
</sequence-manager>
</jdbc-connection-descriptor>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]