Author: norman
Date: Thu Oct 7 06:26:52 2010
New Revision: 1005338
URL: http://svn.apache.org/viewvc?rev=1005338&view=rev
Log:
Disable query cache for openjpa.. Seems like it has a bug in it. See
http://www.mail-archive.com/[email protected]/msg28802.html
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=1005338&r1=1005337&r2=1005338&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
Thu Oct 7 06:26:52 2010
@@ -60,6 +60,9 @@
<property name="openjpa.jdbc.MappingDefaults"
value="ForeignKeyDeleteAction=restrict, JoinForeignKeyDeleteAction=restrict"/>
<!-- Reorder SQL statements to satisfy database foreign key
constraints -->
<property name="openjpa.jdbc.SchemaFactory"
value="native(ForeignKeys=true)"/>
+ <!-- Disable query cache for now. It seems to be buggy. -->
+ <!-- See
http://www.mail-archive.com/[email protected]/msg28802.html -->
+ <property name="openjpa.jdbc.QuerySQLCache" value="false"/>
<!-- Uncomment this if you want to see the generated SQL in the
console.
<property name="openjpa.Log" value="SQL=TRACE"/>
-->
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]