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:
parent
8a6842cc11
commit
a5aa738c95
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue