Author: gbadner
Date: 2008-12-26 17:55:02 -0500 (Fri, 26 Dec 2008)
New Revision: 15727
Modified:
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/ondelete/OnDeleteTest.java
Log:
JBPAPP-1519 HHH-3508 - Sybase Dialect - Override supportsCascadeDelete to return
"false"
Modified:
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/ondelete/OnDeleteTest.java
===================================================================
---
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/ondelete/OnDeleteTest.java 2008-12-22
23:31:15 UTC (rev 15726)
+++
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/ondelete/OnDeleteTest.java 2008-12-26
22:55:02 UTC (rev 15727)
@@ -78,7 +78,7 @@
t.commit();
assertEquals( statistics.getEntityDeleteCount(), 2 );
- if ( !(getDialect() instanceof MySQLDialect) || (getDialect() instanceof
MySQLInnoDBDialect) ) {
+ if ( getDialect().supportsCascadeDelete() ) {
assertEquals( statistics.getPrepareStatementCount(), 1 );
}