james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r939939 - /james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml
Date Sat, 01 May 2010 07:27:29 GMT
Author: norman
Date: Sat May  1 07:27:28 2010
New Revision: 939939

URL: http://svn.apache.org/viewvc?rev=939939&view=rev
Log:
Add timeout and use read-committed as isolation level (thats enough)

Modified:
    james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml

Modified: james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml?rev=939939&r1=939938&r2=939939&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml (original)
+++ james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml Sat
May  1 07:27:28 2010
@@ -41,7 +41,8 @@
             <property name="openjpa.LockManager"  value="pessimistic"/>
             <property name="openjpa.ReadLockLevel"  value="read"/>
             <property name="openjpa.WriteLockLevel"  value="write"/>
-            <property name="openjpa.jdbc.TransactionIsolation" value="repeatable-read"/>
+            <property name="LockTimeout"  value="60000"/>
+            <property name="openjpa.jdbc.TransactionIsolation" value="read-committed"/>
             
         </properties>
     </persistence-unit>



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


Mime
View raw message