HHH-3508 - SybaseDialect overrides supportsCascadeDelete to return "false"; SQLServerDialect returns "true"
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15709 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
d3b224103d
commit
490acd8a0d
|
@ -138,6 +138,10 @@ public class SQLServerDialect extends SybaseDialect {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean supportsCascadeDelete() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean supportsCircularCascadeDeleteConstraints() {
|
public boolean supportsCircularCascadeDeleteConstraints() {
|
||||||
// SQL Server (at least up through 2005) does not support defining
|
// SQL Server (at least up through 2005) does not support defining
|
||||||
// cascade delete constraints which can circel back to the mutating
|
// cascade delete constraints which can circel back to the mutating
|
||||||
|
|
|
@ -243,6 +243,10 @@ public class SybaseDialect extends Dialect {
|
||||||
|
|
||||||
// Overridden informational metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// Overridden informational metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
public boolean supportsCascadeDelete() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean supportsEmptyInList() {
|
public boolean supportsEmptyInList() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue