[hibernate-commits] [hibernate/hibernate-orm] f2b824: HHH-9038 Fix HSQLDB dialect for non-existing const...

GitHub noreply at github.com
Mon Oct 15 05:31:33 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: f2b82449da4e19bea8d4d264be90ef39efed2618
      https://github.com/hibernate/hibernate-orm/commit/f2b82449da4e19bea8d4d264be90ef39efed2618
  Author: Baptiste Mathus <divers at batmat.net>
  Date:   2018-10-15 (Mon, 15 Oct 2018)

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

  Log Message:
  -----------
  HHH-9038 Fix HSQLDB dialect for non-existing constraints.

This commits relates to https://hibernate.atlassian.net/browse/HHH-7002.
It basically removes the explicit constraints dropping, and uses
cascading instead.

As HSQLDB requires to put CASCADE last, but fortunately accepts IF
EXISTS also before tablename, we just put the IF EXISTS *before* the
tablename, and CASCADE after it. And there you go.



      **NOTE:** This service has 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