From cb8a17a42bba2b47ad9d95ed2caaddb33a8abab6 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Thu, 2 Mar 2023 16:18:15 +0100 Subject: [PATCH] Fix Sybase UniqueConstraintTest failure --- .../test/annotations/uniqueconstraint/UniqueConstraintTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/uniqueconstraint/UniqueConstraintTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/uniqueconstraint/UniqueConstraintTest.java index 55141da95c..5b2c2f935f 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/uniqueconstraint/UniqueConstraintTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/uniqueconstraint/UniqueConstraintTest.java @@ -28,6 +28,7 @@ import static org.junit.Assert.fail; @DomainModel( annotatedClasses = { Room.class, Building.class, House.class } ) @SessionFactory @SkipForDialect( dialectClass = SybaseDialect.class, + matchSubTypes = true, reason = "Sybase does not properly support unique constraints on nullable columns" ) public class UniqueConstraintTest {