Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-orm
Commit: e83691501f22ccb71f049ff26e5fed9284bba89f
https://github.com/hibernate/hibernate-orm/commit/e83691501f22ccb71f049ff...
Author: Baptiste Mathus <divers(a)batmat.net>
Date: 2014-03-19 (Wed, 19 Mar 2014)
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.