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:
Gail Badner 2008-12-19 19:04:41 +00:00
parent fd361d9f2a
commit 9dcc00efb8
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -243,6 +243,10 @@ public class SybaseDialect extends Dialect {
// Overridden informational metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
public boolean supportsCascadeDelete() {
return false;
}
public boolean supportsEmptyInList() {
return false;
}