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