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

Yoann Rodière noreply at github.com
Wed Sep 11 20:38:21 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: be7cc76556f1a2efd715b24ba4516fba0ddbbec1
      https://github.com/hibernate/hibernate-orm/commit/be7cc76556f1a2efd715b24ba4516fba0ddbbec1
  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
    M hibernate-spatial/databases/mysql8/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.


  Commit: a580227569fd4ec362b5d1b387801eabd8b24f35
      https://github.com/hibernate/hibernate-orm/commit/a580227569fd4ec362b5d1b387801eabd8b24f35
  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


  Commit: f9f6793232d5f5144f63622bf1ee1710b42ee74c
      https://github.com/hibernate/hibernate-orm/commit/f9f6793232d5f5144f63622bf1ee1710b42ee74c
  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


  Commit: 8fce51c765311302305e52669ca778272e650144
      https://github.com/hibernate/hibernate-orm/commit/8fce51c765311302305e52669ca778272e650144
  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...


  Commit: 74d35b2d59c4fff09f40df6d393800c88dfdda7f
      https://github.com/hibernate/hibernate-orm/commit/74d35b2d59c4fff09f40df6d393800c88dfdda7f
  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.


Compare: https://github.com/hibernate/hibernate-orm/compare/f0218e82adaf...74d35b2d59c4



More information about the hibernate-commits mailing list