[hibernate-commits] [hibernate/hibernate-orm] 7174b0: HHH-12815 Remove the zeroDateTimeBehavior option

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


  Branch: refs/heads/5.3
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 7174b03a25e02d897477ba13e3250307c1bb722f
      https://github.com/hibernate/hibernate-orm/commit/7174b03a25e02d897477ba13e3250307c1bb722f
  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: 3747352ec52981fc0890b6b863dfb7eb389f1b45
      https://github.com/hibernate/hibernate-orm/commit/3747352ec52981fc0890b6b863dfb7eb389f1b45
  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: d6f8d2e7a06914ab32200f351bd26f8b58d7ce18
      https://github.com/hibernate/hibernate-orm/commit/d6f8d2e7a06914ab32200f351bd26f8b58d7ce18
  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: 255a096ee8b0a9510fdba21d9a71f8049d451bbe
      https://github.com/hibernate/hibernate-orm/commit/255a096ee8b0a9510fdba21d9a71f8049d451bbe
  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/b84d364cd277...255a096ee8b0
      **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