[openjpa] branch master updated (260042b -> fa96d6d)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[openjpa] branch master updated (260042b -> fa96d6d)

struberg
This is an automated email from the ASF dual-hosted git repository.

struberg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git.


    from 260042b  OPENJPA-2764 fix tests with random behaviour
     new fe2709a  adding netbeans config files to ignore rules
     new fa96d6d  OPENJPA-2754 implement a workaround for the bug in commons-pool2

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore |  2 ++
 pom.xml    | 14 +++++++-------
 2 files changed, 9 insertions(+), 7 deletions(-)

Reply | Threaded
Open this post in threaded view
|

[openjpa] 01/02: adding netbeans config files to ignore rules

struberg
This is an automated email from the ASF dual-hosted git repository.

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git

commit fe2709aab7298fa8db8a1cbbf21f78499ba06b1e
Author: Mark Struberg <[hidden email]>
AuthorDate: Wed Jan 2 10:34:45 2019 +0100

    adding netbeans config files to ignore rules
---
 .gitignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index a6060e8..25edef6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@ derby.log
 *.iml
 dependency-reduced-pom.xml
 .idea
+nb-configuration.xml
+nbactions*.xml
\ No newline at end of file

Reply | Threaded
Open this post in threaded view
|

[openjpa] 02/02: OPENJPA-2754 implement a workaround for the bug in commons-pool2

struberg
In reply to this post by struberg
This is an automated email from the ASF dual-hosted git repository.

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git

commit fa96d6df02ccb12eb15144e1c001f9783bcdd48e
Author: Mark Struberg <[hidden email]>
AuthorDate: Wed Jan 2 11:17:38 2019 +0100

    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.
---
 pom.xml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index c41a274..d0805ae 100644
--- a/pom.xml
+++ b/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>