You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/08/13 22:45:49 UTC

svn commit: r565510 - in /myfaces/tobago/trunk/example/addressbook: pom.xml src/main/resources/META-INF/persistence.xml

Author: bommel
Date: Mon Aug 13 13:45:48 2007
New Revision: 565510

URL: http://svn.apache.org/viewvc?view=rev&rev=565510
Log:
updated spring and openjpa version

Modified:
    myfaces/tobago/trunk/example/addressbook/pom.xml
    myfaces/tobago/trunk/example/addressbook/src/main/resources/META-INF/persistence.xml

Modified: myfaces/tobago/trunk/example/addressbook/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/addressbook/pom.xml?view=diff&rev=565510&r1=565509&r2=565510
==============================================================================
--- myfaces/tobago/trunk/example/addressbook/pom.xml (original)
+++ myfaces/tobago/trunk/example/addressbook/pom.xml Mon Aug 13 13:45:48 2007
@@ -325,7 +325,8 @@
     </profile>
   </profiles>
   <properties>
-    <openjpa.version>0.9.6-incubating</openjpa.version>
-    <spring.version>2.0.5</spring.version>
+    <!-- please look at the persistence.xml if updating to 1.0.0 -->
+    <openjpa.version>0.9.7-incubating</openjpa.version>
+    <spring.version>2.0.6</spring.version>
   </properties>
 </project>

Modified: myfaces/tobago/trunk/example/addressbook/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/addressbook/src/main/resources/META-INF/persistence.xml?view=diff&rev=565510&r1=565509&r2=565510
==============================================================================
--- myfaces/tobago/trunk/example/addressbook/src/main/resources/META-INF/persistence.xml (original)
+++ myfaces/tobago/trunk/example/addressbook/src/main/resources/META-INF/persistence.xml Mon Aug 13 13:45:48 2007
@@ -22,6 +22,14 @@
     <persistence-unit name="addressBook" transaction-type="RESOURCE_LOCAL">
       <class>org.apache.myfaces.tobago.example.addressbook.Address</class>
       <class>org.apache.myfaces.tobago.example.addressbook.Picture</class>
+      <!-- QueryCompilationCache must be disabled for the 0.9.6-incubating version.
+        See https://issues.apache.org/jira/browse/OPENJPA-256
+        May be can removed if the 1.0.0 version is released
+      -->
+      <properties>
+        <property name="openjpa.QueryCompilationCache" value="false"/>
+      </properties>
+
     </persistence-unit>
 </persistence>