[hibernate-commits] [hibernate/hibernate-orm] 52bdda: HHH-13582 Upgrade MySQL Connector/J to 8.0.17

Yoann Rodière noreply at github.com
Wed Sep 11 22:14:56 EDT 2019


  Branch: refs/heads/5.3
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 52bdda7d40e4bf075b275103ed7e9ffd8635ee9c
      https://github.com/hibernate/hibernate-orm/commit/52bdda7d40e4bf075b275103ed7e9ffd8635ee9c
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/libraries.gradle
    M hibernate-core/src/test/java/org/hibernate/test/annotations/EntityTest.java
    M hibernate-core/src/test/java/org/hibernate/test/resource/transaction/jdbc/autocommit/MySQLSkipAutoCommitTest.java
    M hibernate-core/src/test/java/org/hibernate/test/temporal/TimePropertyTest.java
    M hibernate-spatial/databases/mysql56/matrix.gradle

  Log Message:
  -----------
  HHH-13582 Upgrade MySQL Connector/J to 8.0.17

ConnectorJ 8 is the version used in WildFly integration tests.
ConnectorJ 5 is apparently no longer tested.

Note this solves most timezone-related issues we've been having.

(cherry picked from commit be7cc76556f1a2efd715b24ba4516fba0ddbbec1)


  Commit: 61a23e09666a39dcf1bbbdaf7940ed61bb73a483
      https://github.com/hibernate/hibernate-orm/commit/61a23e09666a39dcf1bbbdaf7940ed61bb73a483
  Author: Gail Badner <gbadner at redhat.com>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M gradle/libraries.gradle
    M hibernate-spatial/databases/mysql56/matrix.gradle

  Log Message:
  -----------
  HHH-13582 Downgrade MySQL Connector/J to 8.0.12 to be consistent with WF18


  Commit: b7c7bccc0b45a7c9b64062f91d490b9efb150eda
      https://github.com/hibernate/hibernate-orm/commit/b7c7bccc0b45a7c9b64062f91d490b9efb150eda
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/test/type/LocalDateTest.java

  Log Message:
  -----------
  HHH-13582 Ignore LocalDateTest for MySQL

MySQL ConnectorJ 8.x returns the wrong date
when the JVM default timezone is different from the server timezone:
https://bugs.mysql.com/bug.php?id=91112

(cherry picked from commit a580227569fd4ec362b5d1b387801eabd8b24f35)


  Commit: 58674a7ba7103b9c355aae5875f808e62670ad8c
      https://github.com/hibernate/hibernate-orm/commit/58674a7ba7103b9c355aae5875f808e62670ad8c
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/test/type/OffsetTimeTest.java

  Log Message:
  -----------
  HHH-13580 Fix a copy/paste error in OffsetTimeTest

(cherry picked from commit f9f6793232d5f5144f63622bf1ee1710b42ee74c)


  Commit: aef0405b5f35521d5b29787fcdc21a456591fef0
      https://github.com/hibernate/hibernate-orm/commit/aef0405b5f35521d5b29787fcdc21a456591fef0
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/test/type/AbstractJavaTimeTypeTest.java

  Log Message:
  -----------
  HHH-13580 Use safer ZoneId => TimeZone conversion in AbstractJavaTimeTypeTest

We were testing GMT instead of UTC-8 without even knowing it...

(cherry picked from commit 8fce51c765311302305e52669ca778272e650144)


  Commit: a3c894e455891baddb4b08557959841eb5145fb5
      https://github.com/hibernate/hibernate-orm/commit/a3c894e455891baddb4b08557959841eb5145fb5
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/test/type/LocalTimeTest.java
    M hibernate-core/src/test/java/org/hibernate/test/type/OffsetTimeTest.java

  Log Message:
  -----------
  HHH-13580 Ignore LocalTimeTest and OffsetTimeTest's 'nativeWriteThenRead' test for MySQL

The returned time is right (otherwise #writeThenRead would fail), it's
just that a different day is returned, but it won't affect the LocalTime
representation manipulated by the user.

(cherry picked from commit 74d35b2d59c4fff09f40df6d393800c88dfdda7f)


Compare: https://github.com/hibernate/hibernate-orm/compare/5274f15ef534...a3c894e45589



More information about the hibernate-commits mailing list