diff --git a/README.md b/README.md index 8486143df..0f1dbf1eb 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ or maven : org.mariadb.jdbc mariadb-java-client - 1.5.6 + 1.5.7 ``` diff --git a/documentation/changelog.creole b/documentation/changelog.creole index b05f1fb62..d14ecce0c 100644 --- a/documentation/changelog.creole +++ b/documentation/changelog.creole @@ -1,5 +1,5 @@ = Changelog -* [[https://github.com/MariaDB/mariadb-connector-j/documentation/changelog.creole#155|1.5.7]] not released +* [[https://github.com/MariaDB/mariadb-connector-j/documentation/changelog.creole#155|1.5.7]] Released on 12 Jan. 2016 * [[https://github.com/MariaDB/mariadb-connector-j/documentation/changelog.creole#155|1.5.6]] Released on 21 Dec. 2016 * [[https://github.com/MariaDB/mariadb-connector-j/documentation/changelog.creole#155|1.5.5]] Released on 07 Nov. 2016 * [[https://github.com/MariaDB/mariadb-connector-j/documentation/changelog.creole#154|1.5.4]] Released on 10 Oct. 2016 @@ -18,6 +18,8 @@ --- == 1.5.7 * CONJ-407 : handling failover when packet > max_allowed_packet reset the connection state. +* CONJ-403 : possible NPE on ResultSet.close() correction +* CONJ-405 : Calendar instance not cleared before being used in ResultSet.getTimestamp == 1.5.6 * CONJ-399 : resultSet getLong() for BIGINT column fails if value is Long.MIN_VALUE in Text protocol diff --git a/pom.xml b/pom.xml index 0315ed7ff..4e8c6baa5 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ mariadb-java-client jar mariadb-java-client - 1.5.7-SNAPSHOT + 1.5.7 JDBC driver for MariaDB and MySQL https://mariadb.com/kb/en/mariadb/about-mariadb-connector-j/ diff --git a/src/main/java/org/mariadb/jdbc/internal/util/constant/Version.java b/src/main/java/org/mariadb/jdbc/internal/util/constant/Version.java index c3d5f3994..72e4e58c1 100644 --- a/src/main/java/org/mariadb/jdbc/internal/util/constant/Version.java +++ b/src/main/java/org/mariadb/jdbc/internal/util/constant/Version.java @@ -51,10 +51,10 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS package org.mariadb.jdbc.internal.util.constant; public final class Version { - public static final String version = "1.5.7-SNAPSHOT"; + public static final String version = "1.5.7"; public static final int majorVersion = 1; public static final int minorVersion = 5; public static final int patchVersion = 7; - public static final String qualifier = "SNAPSHOT"; + public static final String qualifier = ""; } \ No newline at end of file diff --git a/src/test/java/org/mariadb/jdbc/TruncateExceptionTest.java b/src/test/java/org/mariadb/jdbc/TruncateExceptionTest.java index e0d5e4cf8..820afff33 100644 --- a/src/test/java/org/mariadb/jdbc/TruncateExceptionTest.java +++ b/src/test/java/org/mariadb/jdbc/TruncateExceptionTest.java @@ -25,7 +25,7 @@ public void truncationThrowError() throws SQLException { queryTruncation(true); fail("Must have thrown SQLException"); } catch (SQLException e) { - e.printStackTrace(); + //normal error } }