HHH-3508 - Sybase Dialect - Override supportsCascadeDelete to return "false"

git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_2@15728 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gail Badner 2008-12-26 22:59:25 +00:00
parent 8a6842cc11
commit a5aa738c95
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class OnDeleteTest extends FunctionalTestCase {
t.commit(); t.commit();
assertEquals( statistics.getEntityDeleteCount(), 2 ); assertEquals( statistics.getEntityDeleteCount(), 2 );
if ( !(getDialect() instanceof MySQLDialect) || (getDialect() instanceof MySQLInnoDBDialect) ) { if ( getDialect().supportsCascadeDelete() ) {
assertEquals( statistics.getPrepareStatementCount(), 1 ); assertEquals( statistics.getPrepareStatementCount(), 1 );
} }