Revision: 4672
Author: seba.wagner
Date: Sun Dec 4 06:44:54 2011
Log: Rever perstistence.xml
http://code.google.com/p/openmeetings/source/detail?r=4672
Modified:
/trunk/singlewebapp/src/META-INF/persistence.xml
=======================================
--- /trunk/singlewebapp/src/META-INF/persistence.xml Sun Dec 4 04:08:17
2011
+++ /trunk/singlewebapp/src/META-INF/persistence.xml Sun Dec 4 06:44:54
2011
@@ -60,23 +60,23 @@
<class>org.openmeetings.app.persistence.beans.files.FileExplorerItem</class>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
- <property name="openjpa.ConnectionProperties"
- value="DriverClassName=com.mysql.jdbc.Driver
- ,
Url=jdbc:mysql://localhost:3306/openmeetings?autoReconnect=true&useUnicode=true&createDatabaseIfNotExist=true&characterEncoding=utf-8&connectionCollation=utf8_general_ci&cachePrepStmts=true&cacheCallableStatements=true&cacheServerConfiguration=true&useLocalSessionState=true&elideSetAutoCommits=true&alwaysSendSetIsolation=false&enableQueryTimeouts=false&prepStmtCacheSize=3000&prepStmtCacheSqlLimit=1000
- , MaxActive=100
- , MaxWait=10000
- , TestOnBorrow=true
- , poolPreparedStatements=true
- , Username=root
- , Password=admin"/>
- <property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema"/>
- <property name="openjpa.RuntimeUnenhancedClasses"
value="unsupported"/>
- <property name="openjpa.Log" value="DefaultLevel=WARN,
Tool=INFO" />
- <property name="openjpa.ConnectionDriverName"
value="org.apache.commons.dbcp.BasicDataSource"/>
- <property name="openjpa.DataCache" value="true"/>
- <property name="openjpa.QueryCache" value="true"/>
- <property name="openjpa.jdbc.DBDictionary"
value="batchLimit=100,tableType=myisam"/>
- <property name="openjpa.jdbc.QuerySQLCache"
value="false"/>
+ <property name="openjpa.ConnectionProperties"
+ value="DriverClassName=org.apache.derby.jdbc.ClientDriver,
+ Url=jdbc:derby:openmeetings;create=true,
+ create=true,
+ MaxActive=100,
+ MaxWait=10000,
+ TestOnBorrow=true,
+ Username=user,
+ Password=secret" />
+ <property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema" />
+ <property name="openjpa.RuntimeUnenhancedClasses"
value="unsupported" />
+ <property name="openjpa.Log" value="DefaultLevel=WARN,
Tool=INFO" />
+ <property name="openjpa.ConnectionDriverName"
value="org.apache.commons.dbcp.BasicDataSource" />
+ <property name="openjpa.DataCache" value="true" />
+ <property name="openjpa.QueryCache" value="true" />
+ <property name="openjpa.jdbc.DBDictionary"
value="batchLimit=100" />
+ <property name="openjpa.jdbc.QuerySQLCache" value="false" />
</properties>
</persistence-unit>
</persistence>
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.