[hibernate-commits] [hibernate/hibernate-orm] 84918a: HHH-9500: H2Dialect shoud not drop constraints

GitHub noreply at github.com
Thu Dec 18 15:52:00 EST 2014


  Branch: refs/heads/4.2
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 84918aaf155302e4e00689978275c15bc536ec67
      https://github.com/hibernate/hibernate-orm/commit/84918aaf155302e4e00689978275c15bc536ec67
  Author: George Gastaldi <gegastaldi at gmail.com>
  Date:   2014-12-18 (Thu, 18 Dec 2014)

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

  Log Message:
  -----------
  HHH-9500: H2Dialect shoud not drop constraints

The constraints are automatically dropped when the table is also dropped.
Trying to drop a constraint on a table that doesn't exist present unnecessary error messages.

(cherry picked from commit 7854bc6769c1f0b73a6b54216fd1586fc19feffa)


  Commit: f66fcc461b0d59181cbdcc56cb4843b9ad798cf1
      https://github.com/hibernate/hibernate-orm/commit/f66fcc461b0d59181cbdcc56cb4843b9ad798cf1
  Author: George Gastaldi <gegastaldi at gmail.com>
  Date:   2014-12-18 (Thu, 18 Dec 2014)

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

  Log Message:
  -----------
  HHH-6670: H2Dialect should use "if exists" when dropping sequences

(cherry picked from commit 60d4fe5001cdc31affe800c73f32f13ac274c8b8)


Compare: https://github.com/hibernate/hibernate-orm/compare/e8cf997eb3e0...f66fcc461b0d


More information about the hibernate-commits mailing list