upgrade all the jdbc drivers

This commit is contained in:
Gavin 2023-05-20 20:40:54 +02:00 committed by Sanne Grinovero
parent 9cd1d788ea
commit 201c08a8b7
10 changed files with 23 additions and 19 deletions

View File

@ -11,4 +11,4 @@
* License: GNU Lesser General Public License (LGPL), version 2.1 or later. * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/ */
jdbcDependency 'org.postgresql:postgresql:42.2.8' jdbcDependency 'org.postgresql:postgresql:42.6.0'

View File

@ -5,4 +5,4 @@
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/ */
jdbcDependency 'com.ibm.db2:jcc:11.5.7.0' jdbcDependency 'com.ibm.db2:jcc:11.5.8.0'

View File

@ -5,7 +5,7 @@
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/ */
//databaseProfile { //databaseProfile {
jdbcDependency 'org.apache.derby:derby:10.14.2.0' jdbcDependency 'org.apache.derby:derby:10.15.2.0'
// testing { // testing {
// beforeSuite { // beforeSuite {

View File

@ -5,4 +5,4 @@
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/ */
jdbcDependency 'com.sap.cloud.db.jdbc:ngdbc:2.4.59' jdbcDependency 'com.sap.cloud.db.jdbc:ngdbc:2.16.14'

View File

@ -4,4 +4,4 @@
* License: GNU Lesser General Public License (LGPL), version 2.1 or later. * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/ */
jdbcDependency 'org.mariadb.jdbc:mariadb-java-client:2.7.7' jdbcDependency 'org.mariadb.jdbc:mariadb-java-client:2.7.9'

View File

@ -5,4 +5,4 @@
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/ */
jdbcDependency 'com.microsoft.sqlserver:mssql-jdbc:6.4.0.jre8' jdbcDependency 'com.microsoft.sqlserver:mssql-jdbc:12.2.0.jre11'

View File

@ -4,4 +4,4 @@
* License: GNU Lesser General Public License (LGPL), version 2.1 or later. * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/ */
jdbcDependency 'mysql:mysql-connector-java:8.0.27' jdbcDependency 'com.mysql:mysql-connector-j:8.0.33'

View File

@ -4,4 +4,4 @@
* License: GNU Lesser General Public License (LGPL), version 2.1 or later. * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/ */
jdbcDependency 'org.postgresql:postgresql:42.2.19' jdbcDependency 'org.postgresql:postgresql:42.6.0'

View File

@ -62,7 +62,7 @@ driver for your database.
| Database | Driver dependency | Database | Driver dependency
| PostgreSQL or CockroachDB | `org.postgresql:postgresql:{version}` | PostgreSQL or CockroachDB | `org.postgresql:postgresql:{version}`
| MySQL or TiDB | `mysql:mysql-connector-java:{version}` | MySQL or TiDB | `com.mysql:mysql-connector-j:{version}`
| MariaDB | `org.mariadb.jdbc:mariadb-java-client:{version}` | MariaDB | `org.mariadb.jdbc:mariadb-java-client:{version}`
| DB2 | `com.ibm.db2:jcc:{version}` | DB2 | `com.ibm.db2:jcc:{version}`
| SQL Server | `com.microsoft.sqlserver:mssql-jdbc:${version}` | SQL Server | `com.microsoft.sqlserver:mssql-jdbc:${version}`

View File

@ -168,7 +168,7 @@ dependencyResolutionManagement {
} }
String h2gisVersion = settings.ext.find( "gradle.libs.versions.h2gis" ) String h2gisVersion = settings.ext.find( "gradle.libs.versions.h2gis" )
if ( h2gisVersion == null ) { if ( h2gisVersion == null ) {
h2gisVersion = "2.1.0" h2gisVersion = "2.2.0"
} }
String hsqldbVersion = settings.ext.find( "gradle.libs.versions.hsqldb" ) String hsqldbVersion = settings.ext.find( "gradle.libs.versions.hsqldb" )
if ( hsqldbVersion == null ) { if ( hsqldbVersion == null ) {
@ -183,25 +183,29 @@ dependencyResolutionManagement {
version( "h2gis", h2gisVersion ) version( "h2gis", h2gisVersion )
version( "hsqldb", hsqldbVersion ) version( "hsqldb", hsqldbVersion )
version( "derby", derbyVersion ) version( "derby", derbyVersion )
version( "pgsql", "42.5.0" ) version( "pgsql", "42.6.0" )
version( "mysql", "8.0.27" ) version( "mysql", "8.0.33" )
version( "oracle", "23.2.0.0" ) version( "oracle", "23.2.0.0" )
version( "mariadb", "2.7.9" )
version( "mssql", "12.2.0.jre11" )
version( "db2", "11.5.8.0" )
version( "hana", "2.16.14" )
alias( "h2" ).to( "com.h2database", "h2" ).versionRef( "h2" ) alias( "h2" ).to( "com.h2database", "h2" ).versionRef( "h2" )
alias( "h2gis" ).to( "org.orbisgis", "h2gis" ).versionRef( "h2gis" ) alias( "h2gis" ).to( "org.orbisgis", "h2gis" ).versionRef( "h2gis" )
alias( "hsqldb" ).to( "org.hsqldb", "hsqldb" ).versionRef( "hsqldb" ) alias( "hsqldb" ).to( "org.hsqldb", "hsqldb" ).versionRef( "hsqldb" )
alias( "derby" ).to( "org.apache.derby", "derby" ).versionRef( "derby" ) alias( "derby" ).to( "org.apache.derby", "derby" ).versionRef( "derby" )
alias( "postgresql" ).to( "org.postgresql", "postgresql" ).versionRef( "pgsql" ) alias( "postgresql" ).to( "org.postgresql", "postgresql" ).versionRef( "pgsql" )
alias( "cockroachdb" ).to( "org.postgresql", "postgresql" ).version( "42.2.8" ) alias( "cockroachdb" ).to( "org.postgresql", "postgresql" ).versionRef( "pgsql" )
alias( "mysql" ).to( "mysql", "mysql-connector-java" ).versionRef( "mysql" ) alias( "mysql" ).to( "com.mysql", "mysql-connector-j" ).versionRef( "mysql" )
alias( "tidb" ).to( "mysql", "mysql-connector-java" ).versionRef( "mysql" ) alias( "tidb" ).to( "com.mysql", "mysql-connector-j" ).versionRef( "mysql" )
alias( "mariadb" ).to( "org.mariadb.jdbc", "mariadb-java-client" ).version( "2.7.7" ) alias( "mariadb" ).to( "org.mariadb.jdbc", "mariadb-java-client" ).versionRef( "mariadb" )
alias( "oracle" ).to( "com.oracle.database.jdbc", "ojdbc11" ).versionRef( "oracle" ) alias( "oracle" ).to( "com.oracle.database.jdbc", "ojdbc11" ).versionRef( "oracle" )
alias( "oracleXml" ).to( "com.oracle.database.xml", "xdb" ).versionRef( "oracle" ) alias( "oracleXml" ).to( "com.oracle.database.xml", "xdb" ).versionRef( "oracle" )
alias( "oracleXmlParser" ).to( "com.oracle.database.xml", "xmlparserv2" ).versionRef( "oracle" ) alias( "oracleXmlParser" ).to( "com.oracle.database.xml", "xmlparserv2" ).versionRef( "oracle" )
alias( "mssql" ).to( "com.microsoft.sqlserver", "mssql-jdbc" ).version( "11.2.0.jre11" ) alias( "mssql" ).to( "com.microsoft.sqlserver", "mssql-jdbc" ).versionRef( "mssql" )
alias( "db2" ).to( "com.ibm.db2", "jcc" ).version( "11.5.7.0" ) alias( "db2" ).to( "com.ibm.db2", "jcc" ).versionRef( "db2" )
alias( "hana" ).to( "com.sap.cloud.db.jdbc", "ngdbc" ).version( "2.4.59" ) alias( "hana" ).to( "com.sap.cloud.db.jdbc", "ngdbc" ).versionRef( "hana" )
alias( "sybase" ).to( "net.sourceforge.jtds", "jtds" ).version( "1.3.1" ) alias( "sybase" ).to( "net.sourceforge.jtds", "jtds" ).version( "1.3.1" )
alias( "informix" ).to( "com.ibm.informix", "jdbc" ).version( "4.10.12" ) alias( "informix" ).to( "com.ibm.informix", "jdbc" ).version( "4.10.12" )
alias( "firebird" ).to( "org.firebirdsql.jdbc", "jaybird" ).version( "4.0.8.java11" ) alias( "firebird" ).to( "org.firebirdsql.jdbc", "jaybird" ).version( "4.0.8.java11" )