openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r748549 - /openjpa/branches/1.2.x/openjpa-persistence-jdbc/pom.xml
Date Fri, 27 Feb 2009 15:17:01 GMT
Author: mikedd
Date: Fri Feb 27 15:17:01 2009
New Revision: 748549

URL: http://svn.apache.org/viewvc?rev=748549&view=rev
Log:
OPENJPA-881

Modified:
    openjpa/branches/1.2.x/openjpa-persistence-jdbc/pom.xml

Modified: openjpa/branches/1.2.x/openjpa-persistence-jdbc/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/1.2.x/openjpa-persistence-jdbc/pom.xml?rev=748549&r1=748548&r2=748549&view=diff
==============================================================================
--- openjpa/branches/1.2.x/openjpa-persistence-jdbc/pom.xml (original)
+++ openjpa/branches/1.2.x/openjpa-persistence-jdbc/pom.xml Fri Feb 27 15:17:01 2009
@@ -39,6 +39,11 @@
             -Dtest.jvm.arguments="-Xmx500m -agentlib:jdwp=transport=dt_socket,server=y,address=8000"
         -->
         <test.jvm.arguments>-Xmx500m</test.jvm.arguments>
+        <dbcp.maxActive>10</dbcp.maxActive>
+        <dbcp.maxIdle>5</dbcp.maxIdle>
+        <dbcp.minIdle>2</dbcp.minIdle>
+        <dbcp.maxWait>10000</dbcp.maxWait>
+        <dbcp.args>MaxActive=${dbcp.maxActive},MaxIdle=${dbcp.maxIdle},MinIdle=${dbcp.minIdle},MaxWait=${dbcp.maxWait}</dbcp.args>
     </properties>
     <profiles>
 
@@ -478,7 +483,7 @@
                         </property>
                         <property>
                             <name>openjpa.ConnectionProperties</name>
-                            <value>DriverClassName=${connection.driver.name},Url=${connection.url},MaxActive=100,MaxIdle=0,MaxWait=10000,TestOnBorrow=true,Username=${connection.username},Password=${connection.password}</value>
+                            <value>DriverClassName=${connection.driver.name},Url=${connection.url},Username=${connection.username},Password=${connection.password},${dbcp.args}</value>
                         </property>
                     </systemProperties>
                 </configuration>



Mime
View raw message