You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/10/07 08:26:52 UTC

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

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/server-dev@james.apache.org/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/server-dev@james.apache.org/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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org