Skip to content

Commit

Permalink
HHH-13573 : Test failure due to Sybase not supporting cascade delete …
Browse files Browse the repository at this point in the history
…on foreign key definitions

(cherry picked from commit fed93b0)
  • Loading branch information
gbadner committed Aug 14, 2019
1 parent ada9f90 commit 1ff9d19
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -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;
Expand Down Expand Up @@ -359,6 +361,7 @@ public void testCascadeDelete() throws Exception {
}

@Test
@RequiresDialectFeature(DialectChecks.SupportsCascadeDeleteCheck.class)
public void testCascadeDeleteWithUnidirectionalAssociation() throws Exception {
OnDeleteUnidirectionalOneToManyChild child = new OnDeleteUnidirectionalOneToManyChild();

Expand Down

0 comments on commit 1ff9d19

Please sign in to comment.