Author: arminw
Date: Mon May  1 16:34:50 2006
New Revision: 398736

URL: http://svn.apache.org/viewcvs?rev=398736&view=rev
Log:
add property for broker leak detection, IdentityFactory class, LobHelper class 
and LOB refresh

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/OJB.properties

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/OJB.properties
URL: 
http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/OJB.properties?rev=398736&r1=398735&r2=398736&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/OJB.properties 
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/OJB.properties Mon 
May  1 16:34:50 2006
@@ -72,6 +72,12 @@
 # environment *without* OJB-caching, it's valid to use store/delete calls 
without a running PB-tx)
 TxCheck=false
 #
+# This setting can be helpful during development to detect PersistenceBroker 
leaks
+# (PB instances which are not closed after use). If enabled an error message 
including
+# the caller stack trace is logged when garbage collector free unclosed PB 
instances.
+# Default setting is 'false'.
+BrokerLeakDetection=false
+#
 
#----------------------------------------------------------------------------------------
 # PersistenceBroker pool
 
#----------------------------------------------------------------------------------------
@@ -238,6 +244,27 @@
 # Set the standard RowReader implementation. It is also possible to specify the
 # RowReader on class-descriptor level.
 RowReaderDefaultClass=org.apache.ojb.broker.accesslayer.RowReaderDefaultImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# IdentityFactory
+#----------------------------------------------------------------------------------------
+# Specify implementation class for object identity creation, defined by
+# org.apache.ojb.broker.IdenityFactory.
+IdentityFactoryClass=org.apache.ojb.broker.core.IdentityFactoryImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# LobHelper
+#----------------------------------------------------------------------------------------
+# Set the LobHelper implementation.
+LobHelperClass=org.apache.ojb.broker.lob.LobHelperImpl
+#
+# LOB-locator objects (Blob and Clob fields in persistence capable objects) 
are only
+# valid as long as the current PersistenceBroker transaction is active. After 
commit or
+# rollback the LOB-object will be invalidated and before next access to the 
LOB-locator
+# object it must be refreshed.
+LobAutoRefresh=false
 #
 #
 
#----------------------------------------------------------------------------------------



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

Reply via email to