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

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15730 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gail Badner 2008-12-26 23:19:25 +00:00
parent 07999ce59c
commit 1ff65ff30e
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
//$Id: OnDeleteTest.java 10977 2006-12-12 23:28:04Z steve.ebersole@jboss.com $
//$Id: OnDeleteTest.java 15728 2008-12-26 22:59:25Z gbadner $
package org.hibernate.test.ondelete;
import java.util.List;
@ -78,7 +78,7 @@ public class OnDeleteTest extends FunctionalTestCase {
t.commit();
assertEquals( statistics.getEntityDeleteCount(), 2 );
if ( !(getDialect() instanceof MySQLDialect) || (getDialect() instanceof MySQLInnoDBDialect) ) {
if ( getDialect().supportsCascadeDelete() ) {
assertEquals( statistics.getPrepareStatementCount(), 1 );
}