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: [email protected]
For additional commands, e-mail: [email protected]