Author: eric
Date: Mon Jun 21 14:38:11 2010
New Revision: 956602
URL: http://svn.apache.org/viewvc?rev=956602&view=rev
Log:
Add comment for TRACE level logging.
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=956602&r1=956601&r2=956602&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
Mon Jun 21 14:38:11 2010
@@ -31,15 +31,18 @@
<class>org.apache.james.userrepository.JPAUser</class>
<properties>
- <!-- create tables on startup -->
+ <!-- Create tables on startup -->
<property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema(ForeignKeys=true)"/>
- <!-- create foreign keys on startup -->
+ <!-- Create foreign keys on startup -->
<property name="openjpa.jdbc.MappingDefaults"
value="ForeignKeyDeleteAction=restrict, JoinForeignKeyDeleteAction=restrict"/>
- <!-- reorder SQL statements to satisfy database foreign key
constraints -->
+ <!-- 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"/>
-->
+ <!-- Uncomment this if you want to get verbose OpenJPA log the
console.
+ <property name="openjpa.Log" value="DefaultLevel=TRACE"/>
+ -->
</properties>
</persistence-unit>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]