Author: arminw
Date: Tue May 15 16:23:49 2007
New Revision: 538380

URL: http://svn.apache.org/viewvc?view=rev&rev=538380
Log:
use shortcut names, add PersistenceChecker attribute

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_database.xml

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_database.xml
URL: 
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_database.xml?view=diff&rev=538380&r1=538379&r2=538380
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_database.xml 
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_database.xml Tue May 
15 16:23:49 2007
@@ -70,6 +70,14 @@
         <attribute attribute-name="initializationCheck" 
attribute-value="false" />
 
         <!--
+            Specifies the PersistenceChecker implementation class. OJB make 
available two
+            implementations via shortcut names: 'solid' and 'optimized'. The 
first one can
+            produce additional persistence storage roundup to differ 
persistent objects from
+            other ones. More details please see PB-guide or FAQ.
+        -->
+        <attribute attribute-name="persistenceChecker" attribute-value="solid" 
/>
+
+        <!--
             To create identity objects for transient (non-persist) objects  
OJB use
             a specific sequence manager implementation to generate transient 
key values.
             The default implementation is 
org.apache.ojb.broker.util.sequence.SequenceManagerTransientImpl.
@@ -97,14 +105,14 @@
         <!--<attribute attribute-name="platform.oracle.batchSize" 
attribute-value="20" />-->
 
         <!-- alternative cache implementations, see docs section "Caching" -->
-        <object-cache 
class="org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl">
+        <object-cache class="twoLevel">
             <!-- 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"/>
+            <attribute attribute-name="applicationCache" 
attribute-value="default"/>
+            <attribute attribute-name="copyStrategy" 
attribute-value="default"/>
             <attribute attribute-name="forceProxies" attribute-value="false"/>
 
             <!-- ObjectCacheDefaultImpl attributes -->
@@ -169,6 +177,10 @@
             please see "Sequence Manager" guide or/and javadoc of class for 
more information -->
             <attribute attribute-name="seq.start" attribute-value="200000"/>
             <attribute attribute-name="seq.autoNaming" attribute-value="true"/>
+
+            <!-- optional attributes supported by SequenceManagerInMemoryImpl
+            please see "Sequence Manager" guide or/and javadoc of class for 
more information -->
+            <!-- attribute attribute-name="seq.optimized" 
attribute-value="true"/ -->
 
             <!-- attributes supported by SequenceManagerHighLowImpl
             please see "Sequence Manager" guide or/and javadoc of classes for 
more information -->



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to