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