[hibernate-commits] [hibernate/hibernate-orm] e83691: HHH-9038 Fix HSQLDB dialect for non-existing const...
GitHub
noreply at github.com
Wed Mar 19 16:25:34 EDT 2014
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: e83691501f22ccb71f049ff26e5fed9284bba89f
https://github.com/hibernate/hibernate-orm/commit/e83691501f22ccb71f049ff26e5fed9284bba89f
Author: Baptiste Mathus <divers at 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.
More information about the hibernate-commits
mailing list