]> git.basschouten.com Git - openhab-addons.git/commitdiff
Upgrade MySQL Connector/J to 8.2.0 (#16132)
authorJacob Laursen <jacob-github@vindvejr.dk>
Fri, 29 Dec 2023 15:02:37 +0000 (16:02 +0100)
committerGitHub <noreply@github.com>
Fri, 29 Dec 2023 15:02:37 +0000 (16:02 +0100)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
bundles/org.openhab.persistence.jdbc/README.md
bundles/org.openhab.persistence.jdbc/pom.xml
bundles/org.openhab.persistence.jdbc/src/main/feature/feature.xml
bundles/org.openhab.persistence.jdbc/src/main/java/org/openhab/persistence/jdbc/internal/JdbcConfiguration.java

index 85f32637b00dd62b84fa7eadb125564ba856284a..9df24874aef66c4b8eedf7edb134dbd99c3cba6f 100644 (file)
@@ -13,7 +13,7 @@ The following databases are currently supported and tested:
 | [H2](https://www.h2database.com/)            | [h2-2.2.224.jar](https://mvnrepository.com/artifact/com.h2database/h2)                                   |
 | [HSQLDB](http://hsqldb.org/)                 | [hsqldb-2.3.3.jar](https://mvnrepository.com/artifact/org.hsqldb/hsqldb)                                 |
 | [MariaDB](https://mariadb.org/)              | [mariadb-java-client-3.0.8.jar](https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client) |
-| [MySQL](https://www.mysql.com/)              | [mysql-connector-j-8.1.0.jar](https://mvnrepository.com/artifact/com.mysql/mysql-connector-j)            |
+| [MySQL](https://www.mysql.com/)              | [mysql-connector-j-8.2.0.jar](https://mvnrepository.com/artifact/com.mysql/mysql-connector-j)            |
 | [PostgreSQL](https://www.postgresql.org/)    | [postgresql-42.4.3.jar](https://mvnrepository.com/artifact/org.postgresql/postgresql)                    |
 | [SQLite](https://www.sqlite.org/)            | [sqlite-jdbc-3.42.0.0.jar](https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc)                    |
 | [TimescaleDB](https://www.timescale.com/)    | [postgresql-42.4.3.jar](https://mvnrepository.com/artifact/org.postgresql/postgresql)                    |
index 570047d1a70f599f57b320169ad0014e9e97ce3c..c3357ed32cb3de2c892ece1657ef9be71d273904 100644 (file)
@@ -29,7 +29,7 @@
     <h2.version>2.2.224</h2.version>
     <hsqldb.version>2.3.3</hsqldb.version>
     <mariadb.version>3.0.8</mariadb.version>
-    <mysql.version>8.1.0</mysql.version>
+    <mysql.version>8.2.0</mysql.version>
     <postgresql.version>42.4.3</postgresql.version>
     <sqlite.version>3.42.0.0</sqlite.version>
   </properties>
index 617c290317cf0d24e673d54e1732d06e1fd574f6..90e8f1a74704a6dbaad99b1c3a485cdf3a1c4119 100644 (file)
@@ -34,7 +34,7 @@
        <feature name="openhab-persistence-jdbc-mysql" description="JDBC Persistence MySQL" 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.mysql/mysql-connector-j/8.1.0</bundle>
+               <bundle start-level="80">mvn:com.mysql/mysql-connector-j/8.2.0</bundle>
                <bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.persistence.jdbc/${project.version}</bundle>
        </feature>
 
index c108716530aab2f7757895bfa15f99b4ba06b398..71569fe0d2e02267478128067b29e6fea6c748c7 100644 (file)
@@ -330,7 +330,7 @@ public class JdbcConfiguration {
                         warn += "\tMariaDB:   version >= 3.0.8 from              https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client\n";
                         break;
                     case "mysql":
-                        warn += "\tMySQL:     version >= 8.1.0 from              https://mvnrepository.com/artifact/com.mysql/mysql-connector-j\n";
+                        warn += "\tMySQL:     version >= 8.2.0 from              https://mvnrepository.com/artifact/com.mysql/mysql-connector-j\n";
                         break;
                     case "postgresql":
                         warn += "\tPostgreSQL:version >= 42.4.3 from             https://mvnrepository.com/artifact/org.postgresql/postgresql\n";