mirror of https://github.com/apache/openjpa.git
OPENJPA-2754 implement a workaround for the bug in commons-pool2
By setting maxIdle to > 0 we can work around the bug and even pass your test with the old versions.
This commit is contained in:
parent
fe2709aab7
commit
fa96d6df02
14
pom.xml
14
pom.xml
|
@ -552,7 +552,7 @@
|
|||
<connection.password>${openjpa.mysql.password}</connection.password>
|
||||
<jdbc.DBDictionary />
|
||||
<!-- DBCP overrides for MySQL testing -->
|
||||
<dbcp.maxIdle>0</dbcp.maxIdle>
|
||||
<dbcp.maxIdle>5</dbcp.maxIdle>
|
||||
<dbcp.minIdle>0</dbcp.minIdle>
|
||||
</properties>
|
||||
</profile>
|
||||
|
@ -590,7 +590,7 @@
|
|||
<jdbc.DBDictionary />
|
||||
|
||||
<!-- DBCP overrides for MySQL testing -->
|
||||
<dbcp.maxIdle>0</dbcp.maxIdle>
|
||||
<dbcp.maxIdle>5</dbcp.maxIdle>
|
||||
<dbcp.minIdle>0</dbcp.minIdle>
|
||||
|
||||
<mysql.server.version>5.7</mysql.server.version>
|
||||
|
@ -647,7 +647,7 @@
|
|||
<connection.password>${openjpa.mariadb.password}</connection.password>
|
||||
<jdbc.DBDictionary />
|
||||
<!-- DBCP overrides for MariaDB testing -->
|
||||
<dbcp.maxIdle>0</dbcp.maxIdle>
|
||||
<dbcp.maxIdle>5</dbcp.maxIdle>
|
||||
<dbcp.minIdle>0</dbcp.minIdle>
|
||||
</properties>
|
||||
</profile>
|
||||
|
@ -685,7 +685,7 @@
|
|||
<jdbc.DBDictionary />
|
||||
|
||||
<!-- DBCP overrides for mariadb testing -->
|
||||
<dbcp.maxIdle>0</dbcp.maxIdle>
|
||||
<dbcp.maxIdle>5</dbcp.maxIdle>
|
||||
<dbcp.minIdle>0</dbcp.minIdle>
|
||||
|
||||
<mariadb.server.version>10.3</mariadb.server.version>
|
||||
|
@ -746,7 +746,7 @@
|
|||
<connection.password>${openjpa.postgresql.password}</connection.password>
|
||||
<jdbc.DBDictionary />
|
||||
<!-- DBCP overrides -->
|
||||
<dbcp.maxIdle>0</dbcp.maxIdle>
|
||||
<dbcp.maxIdle>5</dbcp.maxIdle>
|
||||
<dbcp.minIdle>0</dbcp.minIdle>
|
||||
<dbcp.maxTotal>20</dbcp.maxTotal>
|
||||
</properties>
|
||||
|
@ -1489,7 +1489,7 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-pool2</artifactId>
|
||||
<version>2.6.1-SNAPSHOT</version>
|
||||
<version>2.6.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-logging</groupId>
|
||||
|
@ -1555,7 +1555,7 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-dbcp2</artifactId>
|
||||
<version>2.6.0-SNAPSHOT</version>
|
||||
<version>2.5.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
|
|
Loading…
Reference in New Issue