[hibernate-commits] [hibernate/hibernate-orm] 19d31e: HHH-12815 Remove the zeroDateTimeBehavior option

GitHub noreply at github.com
Thu Jul 19 09:18:14 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 19d31ea94d7c8704ef6f2dd4465764ad48f93942
      https://github.com/hibernate/hibernate-orm/commit/19d31ea94d7c8704ef6f2dd4465764ad48f93942
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2018-07-19 (Thu, 19 Jul 2018)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/test/timestamp/LocalDateCustomSessionLevelTimeZoneTest.java

  Log Message:
  -----------
  HHH-12815 Remove the zeroDateTimeBehavior option

It's useless for this test and it causes compatibility issues.


  Commit: de4c356189ec3747124e9b4fd81dd37ce1d8a21d
      https://github.com/hibernate/hibernate-orm/commit/de4c356189ec3747124e9b4fd81dd37ce1d8a21d
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2018-07-19 (Thu, 19 Jul 2018)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java

  Log Message:
  -----------
  HHH-12827 Define a numeric type as decimal for DB2

DB2 converts the numeric type to decimal and returns Types.DECIMAL for a
numeric. We change the type name used so that we have a match when
comparing the type names as last resort.


  Commit: 2d318b76b2bd311b5e6385ca44c5a366ca612e6d
      https://github.com/hibernate/hibernate-orm/commit/2d318b76b2bd311b5e6385ca44c5a366ca612e6d
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2018-07-19 (Thu, 19 Jul 2018)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/selectcase/GroupBySelectCaseTest.java
    M hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/selectcase/SelectCaseTest.java
    M hibernate-core/src/test/java/org/hibernate/query/criteria/internal/expression/SearchedCaseExpressionTest.java

  Log Message:
  -----------
  HHH-12822 Skip "case when" tests requiring casts for DB2


  Commit: cc600abf38afed99b4e9ce6f123f2e0582d6002a
      https://github.com/hibernate/hibernate-orm/commit/cc600abf38afed99b4e9ce6f123f2e0582d6002a
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2018-07-19 (Thu, 19 Jul 2018)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaMigratorHaltOnErrorTest.java
    M hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaUpdateHaltOnErrorTest.java

  Log Message:
  -----------
  HHH-12832 Skip SchemaUpdateHaltOnErrorTest and al. with DB2

DB2 has no issue with reserved keywords in the CREATE TABLE clause so
let's skip these tests.

There is very little value to test them for every dialect anyway.


Compare: https://github.com/hibernate/hibernate-orm/compare/f8964847dd40...cc600abf38af
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the hibernate-commits mailing list