From df59ec4d411623a0fe4252e487a1ffbd949be8bc Mon Sep 17 00:00:00 2001 From: Alejandro Revilla Date: Tue, 12 Mar 2019 17:07:42 -0300 Subject: [PATCH] Upgrade Hibernate to 5.4.1.Final, c3p0 to 0.9.5.3 --- libraries.gradle | 4 +++- modules/dbsupport/build.gradle | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libraries.gradle b/libraries.gradle index cec375c381..10a1f099f5 100644 --- a/libraries.gradle +++ b/libraries.gradle @@ -2,7 +2,7 @@ ext { jposVersion = '2.1.3-SNAPSHOT' slf4jVersion = '1.7.21' logbackVersion = '1.2.3' - hibernateVersion = '5.3.8.Final' + hibernateVersion = '5.4.1.Final' geronimoVersion = '1.1.1' jettyVersion = '9.4.5.v20170502' servletApiVersion = '3.1.0' @@ -17,6 +17,7 @@ ext { nettyVersion = '4.1.24.Final' httpAsyncClientVersion = '4.1.4' mysqlJDBCVersion = '8.0.15' + c3p0Version = '0.9.5.3' libraries = [ //jUnit (Tests) @@ -44,6 +45,7 @@ ext { hibernate_core: "org.hibernate:hibernate-core:${hibernateVersion}", hibernate_envers: "org.hibernate:hibernate-envers:${hibernateVersion}", hibernate_c3p0: "org.hibernate:hibernate-c3p0:${hibernateVersion}", + c3p0: "com.mchange:c3p0:${c3p0Version}", hibernate_ehcache: "org.hibernate:hibernate-ehcache:${hibernateVersion}", jta: "org.apache.geronimo.specs:geronimo-jta_1.1_spec:${geronimoVersion}", diff --git a/modules/dbsupport/build.gradle b/modules/dbsupport/build.gradle index 1af0ffd5e3..cd3e5014c3 100644 --- a/modules/dbsupport/build.gradle +++ b/modules/dbsupport/build.gradle @@ -5,6 +5,7 @@ dependencies { compile libraries.hibernate_core compile libraries.hibernate_envers compile libraries.hibernate_c3p0 + compile libraries.c3p0 // force c3p0 version (temporary fix un Hibernate bumps up version) compile libraries.hibernate_ehcache compile libraries.jta compile libraries.jacksonDatabind