Revision: 4412
Author: seba.wagner
Date: Sat Oct 8 02:25:05 2011
Log: Fixes issue 1537
http://code.google.com/p/openmeetings/source/detail?r=4412
Added:
/trunk/singlewebapp/lib/database/derby.jar
/trunk/singlewebapp/lib/database/derbyclient.jar
Modified:
/trunk/singlewebapp/src/META-INF/persistence.xml
=======================================
--- /dev/null
+++ /trunk/singlewebapp/lib/database/derby.jar Sat Oct 8 02:25:05 2011
File is too large to display a diff.
=======================================
--- /dev/null
+++ /trunk/singlewebapp/lib/database/derbyclient.jar Sat Oct 8 02:25:05
2011
Binary file, no diff available.
=======================================
--- /trunk/singlewebapp/src/META-INF/persistence.xml Sat Oct 1 11:15:55
2011
+++ /trunk/singlewebapp/src/META-INF/persistence.xml Sat Oct 8 02:25:05
2011
@@ -59,25 +59,24 @@
<class>org.openmeetings.app.persistence.beans.user.Users</class>
<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="/>
- <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.Log" value="DefaultLevel=WARN, Runtime=INFO,
Tool=INFO, SQL=TRACE"/> -->
+ <properties>
+ <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.