db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb repository_database.xml
Date Sat, 13 Sep 2003 14:52:28 GMT
brj         2003/09/13 07:52:28

  Modified:    src/test/org/apache/ojb repository_database.xml
  Log:
  fix wrong checkin
  
  Revision  Changes    Path
  1.14      +18 -71    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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- repository_database.xml	13 Sep 2003 14:33:57 -0000	1.13
  +++ repository_database.xml	13 Sep 2003 14:52:28 -0000	1.14
  @@ -1,4 +1,4 @@
  -
  +<!-- @version $Id$ -->
   <!--
   Define here all used connections.
   One defined connection should be defined as the default one,
  @@ -13,89 +13,36 @@
   using the MetadataManager.
   -->
   
  -    <!-- P6Spy for HSQLDB -->
  +
  +    <!-- this connection was used as the default one within OJB -->
       <jdbc-connection-descriptor
  -   		jcd-alias="default"
  +   		jcd-alias="@JCD_ALIAS@"
      		default-connection="true"
  -   		platform="Hsqldb"
  -   		jdbc-level="2.0"
  -   		driver="com.p6spy.engine.spy.P6SpyDriver"
  -   		protocol="jdbc"
  -   		subprotocol="hsqldb"
  -   		dbalias="e:/java/jdbc/hsql/OJB"
  -   		username="sa"
  -   		password=""
  +   		platform="@DBMS_NAME@"
  +   		jdbc-level="@JDBC_LEVEL@"
  +   		driver="@DRIVER_NAME@"
  +   		protocol="@URL_PROTOCOL@"
  +   		subprotocol="@URL_SUBPROTOCOL@"
  +   		dbalias="@URL_DBALIAS@"
  +   		username="@USER_NAME@"
  +   		password="@USER_PASSWD@"
           eager-release="false"
      		batch-mode="false"
           useAutoCommit="1"
           ignoreAutoCommitExceptions="false"
        >
  -        <connection-pool
  -            maxActive="10"
  -            validationQuery="" />
  -        <sequence-manager className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
  -            <attribute attribute-name="grabSize" attribute-value="20"/>
  -            <attribute attribute-name="autoNaming" attribute-value="true"/>
  -            <attribute attribute-name="globalSequenceId" attribute-value="false"/>
  -            <attribute attribute-name="globalSequenceStart" attribute-value="10000"/>
  -        </sequence-manager>
  -   </jdbc-connection-descriptor>
   
  -    <!-- P6Spy for MySQL -->
  -    <!--jdbc-connection-descriptor
  -   		jcd-alias="default"
  -   		default-connection="true"
  -   		platform="MySQL"
  -   		jdbc-level="2.0"
  -   		driver="com.p6spy.engine.spy.P6SpyDriver"
  -   		protocol="jdbc"
  -   		subprotocol="mysql"
  -   		dbalias="//localhost:3306/ojb"
  -   		username="sa"
  -   		password=""
  -        eager-release="false"
  -   		batch-mode="false"
  -        useAutoCommit="1"
  -        ignoreAutoCommitExceptions="false"
  -     >
           <connection-pool
  -            maxActive="10"
  +            maxActive="21"
               validationQuery="" />
  -        <sequence-manager className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
  -            <attribute attribute-name="grabSize" attribute-value="20"/>
  -            <attribute attribute-name="autoNaming" attribute-value="true"/>
  -            <attribute attribute-name="globalSequenceId" attribute-value="false"/>
  -            <attribute attribute-name="globalSequenceStart" attribute-value="10000"/>
  -        </sequence-manager>
  -   </jdbc-connection-descriptor-->
   
  -    <!-- P6Spy for SAPDB -->
  -    <!--jdbc-connection-descriptor
  -   		jcd-alias="default"
  -   		default-connection="true"
  -   		platform="Sapdb"
  -   		jdbc-level="2.0"
  -   		driver="com.p6spy.engine.spy.P6SpyDriver"
  -   		protocol="jdbc"
  -   		subprotocol="sapdb"
  -   		dbalias="//localhost/ojb"
  -   		username="ojb_adm"
  -   		password="ojb_adm"
  -        eager-release="false"
  -   		batch-mode="false"
  -        useAutoCommit="1"
  -        ignoreAutoCommitExceptions="false"
  -     >
  -        <connection-pool
  -            maxActive="10"
  -            validationQuery="" />
           <sequence-manager className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
               <attribute attribute-name="grabSize" attribute-value="20"/>
               <attribute attribute-name="autoNaming" attribute-value="true"/>
               <attribute attribute-name="globalSequenceId" attribute-value="false"/>
               <attribute attribute-name="globalSequenceStart" attribute-value="10000"/>
           </sequence-manager>
  -   </jdbc-connection-descriptor-->
  +   </jdbc-connection-descriptor>
   
      <!-- Datasource example -->
       <!-- jdbc-connection-descriptor
  @@ -136,13 +83,13 @@
           driver="org.hsqldb.jdbcDriver"
           protocol="jdbc"
           subprotocol="hsqldb"
  -        dbalias="e:/java/jdbc/hsql/OJB_FarAway"
  +        dbalias="../OJB_FarAway"
           username="sa"
           password=""
           batch-mode="false"
       >
  -       <connection-pool
  -            maxActive="5"
  +        <connection-pool
  +            maxActive="6"
               whenExhaustedAction="0"
               validationQuery="select count(*) from OJB_HL_SEQ"
           />
  @@ -198,4 +145,4 @@
               <attribute attribute-name="key1" attribute-value="value1"/>
               <attribute attribute-name="key2" attribute-value="value2"/>
           </sequence-manager>
  -    </jdbc-connection-descriptor>
  \ No newline at end of file
  +    </jdbc-connection-descriptor>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message