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 er...@apache.org on 2010/06/20 14:33:36 UTC

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

Author: eric
Date: Sun Jun 20 12:33:36 2010
New Revision: 956352

URL: http://svn.apache.org/viewvc?rev=956352&view=rev
Log:
Add property in comment for generated SQL in console.

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=956352&r1=956351&r2=956352&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 Sun Jun 20 12:33:36 2010
@@ -37,6 +37,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)"/>
+            <!--  Uncomment this if you want to see the generated SQL in the console.
+	        <property name="openjpa.Log" value=""SQL=TRACE"/>
+	        -->
         </properties>
 
     </persistence-unit>



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