You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2005/03/11 15:46:49 UTC

cvs commit: db-ojb/src/test/org/apache/ojb repository_database.xml

arminw      2005/03/11 06:46:49

  Modified:    src/test/org/apache/ojb Tag: OJB_1_0_RELEASE
                        repository_database.xml
  Log:
  add comments
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.22.2.7  +11 -2     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.6
  retrieving revision 1.22.2.7
  diff -u -r1.22.2.6 -r1.22.2.7
  --- repository_database.xml	7 Feb 2005 17:38:22 -0000	1.22.2.6
  +++ repository_database.xml	11 Mar 2005 14:46:49 -0000	1.22.2.7
  @@ -47,15 +47,22 @@
           ignoreAutoCommitExceptions="false"
        >
   
  +        <!-- alternative cache implementations, see docs section "Caching" -->
           <object-cache class="org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl">
  -            <!-- meaning of attributes, please see docs section caching -->
  +            <!-- meaning of attributes, please see docs section "Caching" -->
  +            <!-- common attributes -->
               <attribute attribute-name="cacheExcludes" attribute-value=""/>
  +            <!-- ObjectCacheTwoLevelImpl attributes -->
               <attribute attribute-name="applicationCache" attribute-value="org.apache.ojb.broker.cache.ObjectCacheDefaultImpl"/>
  +            <attribute attribute-name="copyStrategy" attribute-value="org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl$CopyStrategyImpl"/>
  +            <!-- ObjectCacheDefaultImpl attributes -->
               <attribute attribute-name="timeout" attribute-value="900"/>
               <attribute attribute-name="autoSync" attribute-value="true"/>
               <attribute attribute-name="cachingKeyType" attribute-value="0"/>
  +            <attribute attribute-name="useSoftReferences" attribute-value="true"/>
           </object-cache>
   
  +        <!-- more info, see section "Connection Handling" in docs -->
           <connection-pool
               maxActive="30"
               validationQuery="@VALIDATION_QUERY@"
  @@ -65,7 +72,9 @@
               maxWait="10000"
           />
   
  +        <!-- alternative sequence manager implementations, see docs section "Sequence Manager" -->
           <sequence-manager className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
  +            <!-- meaning of attributes, please see docs section "Sequence Manager" -->
               <attribute attribute-name="grabSize" attribute-value="20"/>
               <attribute attribute-name="autoNaming" attribute-value="true"/>
               <attribute attribute-name="sequenceStart" attribute-value="0"/>
  
  
  

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