mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 16:44:57 +00:00
HHH-13573 : Test failure due to Sybase not supporting cascade delete on foreign key definitions
(cherry picked from commit fed93b0ae96bd39367897cbbec66327ddd83962d)
This commit is contained in:
parent
ada9f901e9
commit
1ff9d19d8e
@ -37,6 +37,8 @@
|
||||
import org.hibernate.mapping.PersistentClass;
|
||||
import org.hibernate.mapping.Table;
|
||||
|
||||
import org.hibernate.testing.DialectChecks;
|
||||
import org.hibernate.testing.RequiresDialectFeature;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseNonConfigCoreFunctionalTestCase;
|
||||
import org.hibernate.test.annotations.Customer;
|
||||
@ -359,6 +361,7 @@ public void testCascadeDelete() throws Exception {
|
||||
}
|
||||
|
||||
@Test
|
||||
@RequiresDialectFeature(DialectChecks.SupportsCascadeDeleteCheck.class)
|
||||
public void testCascadeDeleteWithUnidirectionalAssociation() throws Exception {
|
||||
OnDeleteUnidirectionalOneToManyChild child = new OnDeleteUnidirectionalOneToManyChild();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user