mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-29 12:34:21 +02:00
[jdbc] Update dependencies (#20133)
* [jdbc] Update dependencies Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -12,13 +12,13 @@ The following databases are currently supported and tested:
|
||||
| Database | Tested Driver / Version |
|
||||
| -------------------------------------------- |---------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [Apache Derby](https://db.apache.org/derby/) | [derby-10.17.1.0.jar](https://mvnrepository.com/artifact/org.apache.derby/derby) |
|
||||
| [H2](https://www.h2database.com/) | [h2-2.3.232.jar](https://mvnrepository.com/artifact/com.h2database/h2) |
|
||||
| [H2](https://www.h2database.com/) | [h2-2.4.240.jar](https://mvnrepository.com/artifact/com.h2database/h2) |
|
||||
| [HSQLDB](http://hsqldb.org/) | [hsqldb-2.7.4.jar](https://mvnrepository.com/artifact/org.hsqldb/hsqldb) |
|
||||
| [MariaDB](https://mariadb.org/) | [mariadb-java-client-3.5.5.jar](https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client) |
|
||||
| [MariaDB](https://mariadb.org/) | [mariadb-java-client-3.5.7.jar](https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client) |
|
||||
| [MySQL](https://www.mysql.com/) | [mysql-connector-j-9.5.0.jar](https://mvnrepository.com/artifact/com.mysql/mysql-connector-j) |
|
||||
| [PostgreSQL](https://www.postgresql.org/) | [postgresql-42.7.7.jar](https://mvnrepository.com/artifact/org.postgresql/postgresql) |
|
||||
| [SQLite](https://www.sqlite.org/) | [sqlite-jdbc-3.50.3.0.jar](https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc) |
|
||||
| [TimescaleDB](https://www.timescale.com/) | [postgresql-42.7.7.jar](https://mvnrepository.com/artifact/org.postgresql/postgresql) |
|
||||
| [PostgreSQL](https://www.postgresql.org/) | [postgresql-42.7.9.jar](https://mvnrepository.com/artifact/org.postgresql/postgresql) |
|
||||
| [SQLite](https://www.sqlite.org/) | [sqlite-jdbc-3.51.1.0.jar](https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc) |
|
||||
| [TimescaleDB](https://www.timescale.com/) | [postgresql-42.7.9.jar](https://mvnrepository.com/artifact/org.postgresql/postgresql) |
|
||||
| [OracleDB](https://www.oracle.com/database/) | [com.oracle.database.jdbc.ojdbc11-23.5.0.2407.jar](https://mvnrepository.com/artifact/org.openhab.osgiify/com.oracle.database.jdbc.ojdbc11) |
|
||||
|
||||
## Table of Contents
|
||||
|
||||
@@ -21,17 +21,18 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<hikari.version>5.1.0</hikari.version>
|
||||
<!-- updating dbutils beyond 1.6 is causing issues, see #18821 -->
|
||||
<dbutils.version>1.6</dbutils.version>
|
||||
<yank.version>3.5.0</yank.version>
|
||||
|
||||
<!-- JDBC database driver versions -->
|
||||
<derby.version>10.17.1.0</derby.version>
|
||||
<h2.version>2.3.232</h2.version>
|
||||
<h2.version>2.4.240</h2.version>
|
||||
<hsqldb.version>2.7.4</hsqldb.version>
|
||||
<mariadb.version>3.5.5</mariadb.version>
|
||||
<mariadb.version>3.5.7</mariadb.version>
|
||||
<mysql.version>9.5.0</mysql.version>
|
||||
<postgresql.version>42.7.7</postgresql.version>
|
||||
<sqlite.version>3.50.3.0</sqlite.version>
|
||||
<postgresql.version>42.7.9</postgresql.version>
|
||||
<sqlite.version>3.51.1.0</sqlite.version>
|
||||
<oracle.version>23.5.0.2407</oracle.version>
|
||||
</properties>
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<feature name="openhab-persistence-jdbc-h2" description="JDBC Persistence H2" version="${project.version}">
|
||||
<configfile finalname="${openhab.conf}/services/jdbc.cfg" override="false">mvn:org.openhab.addons.features.karaf/org.openhab.addons.features.karaf.openhab-addons-external/${project.version}/cfg/jdbc</configfile>
|
||||
<feature prerequisite="false" dependency="false">openhab-runtime-base</feature>
|
||||
<bundle start-level="80">mvn:com.h2database/h2/2.3.232</bundle>
|
||||
<bundle start-level="80">mvn:com.h2database/h2/2.4.240</bundle>
|
||||
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.persistence.jdbc/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<feature name="openhab-persistence-jdbc-mariadb" description="JDBC Persistence MariaDB" version="${project.version}">
|
||||
<configfile finalname="${openhab.conf}/services/jdbc.cfg" override="false">mvn:org.openhab.addons.features.karaf/org.openhab.addons.features.karaf.openhab-addons-external/${project.version}/cfg/jdbc</configfile>
|
||||
<feature prerequisite="false" dependency="false">openhab-runtime-base</feature>
|
||||
<bundle start-level="80">mvn:org.mariadb.jdbc/mariadb-java-client/3.5.5</bundle>
|
||||
<bundle start-level="80">mvn:org.mariadb.jdbc/mariadb-java-client/3.5.7</bundle>
|
||||
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.persistence.jdbc/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
@@ -43,14 +43,14 @@
|
||||
<feature name="openhab-persistence-jdbc-postgresql" description="JDBC Persistence PostgreSQL" version="${project.version}">
|
||||
<configfile finalname="${openhab.conf}/services/jdbc.cfg" override="false">mvn:org.openhab.addons.features.karaf/org.openhab.addons.features.karaf.openhab-addons-external/${project.version}/cfg/jdbc</configfile>
|
||||
<feature prerequisite="false" dependency="false">openhab-runtime-base</feature>
|
||||
<bundle start-level="80">mvn:org.postgresql/postgresql/42.7.7</bundle>
|
||||
<bundle start-level="80">mvn:org.postgresql/postgresql/42.7.9</bundle>
|
||||
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.persistence.jdbc/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="openhab-persistence-jdbc-sqlite" description="JDBC Persistence SQLite" version="${project.version}">
|
||||
<configfile finalname="${openhab.conf}/services/jdbc.cfg" override="false">mvn:org.openhab.addons.features.karaf/org.openhab.addons.features.karaf.openhab-addons-external/${project.version}/cfg/jdbc</configfile>
|
||||
<feature prerequisite="false" dependency="false">openhab-runtime-base</feature>
|
||||
<bundle start-level="80">mvn:org.xerial/sqlite-jdbc/3.50.3.0</bundle>
|
||||
<bundle start-level="80">mvn:org.xerial/sqlite-jdbc/3.51.1.0</bundle>
|
||||
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.persistence.jdbc/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
|
||||
+4
-4
@@ -324,22 +324,22 @@ public class JdbcConfiguration {
|
||||
warn += "\tDerby: version >= 10.17.1.0 from https://mvnrepository.com/artifact/org.apache.derby/derby\n";
|
||||
break;
|
||||
case "h2":
|
||||
warn += "\tH2: version >= 2.3.232 from https://mvnrepository.com/artifact/com.h2database/h2\n";
|
||||
warn += "\tH2: version >= 2.4.240 from https://mvnrepository.com/artifact/com.h2database/h2\n";
|
||||
break;
|
||||
case "hsqldb":
|
||||
warn += "\tHSQLDB: version >= 2.7.4 from https://mvnrepository.com/artifact/org.hsqldb/hsqldb\n";
|
||||
break;
|
||||
case "mariadb":
|
||||
warn += "\tMariaDB: version >= 3.5.5 from https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client\n";
|
||||
warn += "\tMariaDB: version >= 3.5.7 from https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client\n";
|
||||
break;
|
||||
case "mysql":
|
||||
warn += "\tMySQL: version >= 9.5.0 from https://mvnrepository.com/artifact/com.mysql/mysql-connector-j\n";
|
||||
break;
|
||||
case "postgresql":
|
||||
warn += "\tPostgreSQL:version >= 42.7.7 from https://mvnrepository.com/artifact/org.postgresql/postgresql\n";
|
||||
warn += "\tPostgreSQL:version >= 42.7.9 from https://mvnrepository.com/artifact/org.postgresql/postgresql\n";
|
||||
break;
|
||||
case "sqlite":
|
||||
warn += "\tSQLite: version >= 3.50.3.0 from https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc\n";
|
||||
warn += "\tSQLite: version >= 3.51.1.0 from https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc\n";
|
||||
break;
|
||||
case "oracle":
|
||||
warn += "\tOracle: version >= 23.5.0.0 from https://mvnrepository.com/artifact/org.openhab.osgiify/com.oracle.database.jdbc.ojdbc11\n";
|
||||
|
||||
Reference in New Issue
Block a user