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:
Gail Badner 2008-12-19 19:05:29 +00:00
parent d3b224103d
commit 490acd8a0d
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;
}