Author: arminw
Date: Fri Aug 11 16:31:19 2006
New Revision: 430916
URL: http://svn.apache.org/viewvc?rev=430916&view=rev
Log:
fix syntax, add attributes
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_ConnectionDescriptor.xml
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_Repository.xml
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_ConnectionDescriptor.xml
URL:
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_ConnectionDescriptor.xml?rev=430916&r1=430915&r2=430916&view=diff
==============================================================================
---
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_ConnectionDescriptor.xml
(original)
+++
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_ConnectionDescriptor.xml
Fri Aug 11 16:31:19 2006
@@ -42,15 +42,6 @@
password=""
batch-mode="false"
>
- <connection-pool
- maxActive="5"
- whenExhaustedAction="0"
- validationQuery="select count(*) from OJB_HL_SEQ"
- />
-
- <sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
- <attribute attribute-name="grabSize" attribute-value="5"/>
- </sequence-manager>
<!-- add some custom attributes -->
<attribute
@@ -62,6 +53,16 @@
attribute-name="attribute-connection-2"
attribute-value="attribute-connection-test-value-2">
</attribute>
+
+ <connection-pool
+ maxActive="5"
+ whenExhaustedAction="0"
+ validationQuery="select count(*) from OJB_HL_SEQ"
+ />
+
+ <sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
+ <attribute attribute-name="grabSize" attribute-value="5"/>
+ </sequence-manager>
</jdbc-connection-descriptor>
<!--
@@ -118,11 +119,13 @@
dbalias="myDbalias"
username="a user"
password="a password"
- eager-release="true"
batch-mode="true"
useAutoCommit="0"
ignoreAutoCommitExceptions="true"
>
+
+ <attribute attribute-name="conKey1" attribute-value="conValue1"/>
+ <attribute attribute-name="conKey2" attribute-value="conValue2"/>
<object-cache class="org.apache.ojb.broker.cache.ObjectCacheEmptyImpl">
<attribute attribute-name="cacheKey1"
attribute-value="cacheValue1"/>
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_Repository.xml
URL:
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_Repository.xml?rev=430916&r1=430915&r2=430916&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_Repository.xml
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_Repository.xml
Fri Aug 11 16:31:19 2006
@@ -54,6 +54,17 @@
batch-mode="false"
>
+ <!-- add some custom attributes -->
+ <attribute
+ attribute-name="attribute-connection-1"
+ attribute-value="attribute-connection-test-value-1">
+ </attribute>
+
+ <attribute
+ attribute-name="attribute-connection-2"
+ attribute-value="attribute-connection-test-value-2">
+ </attribute>
+
<object-cache class="org.apache.ojb.broker.cache.ObjectCacheEmptyImpl">
<attribute attribute-name="attr_con" attribute-value="555"/>
</object-cache>
@@ -67,17 +78,6 @@
<sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
<attribute attribute-name="grabSize" attribute-value="5"/>
</sequence-manager>
-
- <!-- add some custom attributes -->
- <attribute
- attribute-name="attribute-connection-1"
- attribute-value="attribute-connection-test-value-1">
- </attribute>
-
- <attribute
- attribute-name="attribute-connection-2"
- attribute-value="attribute-connection-test-value-2">
- </attribute>
</jdbc-connection-descriptor>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]