From 457872dbdd83f92924aaa41d0f2a6e5a8dacd449 Mon Sep 17 00:00:00 2001 From: Gavin Date: Mon, 28 Nov 2022 17:16:48 +0100 Subject: [PATCH] skip a test on TiDB as requested by @beikov --- .../hibernate/orm/test/ondelete/toone/ToOneOnDeleteTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/ondelete/toone/ToOneOnDeleteTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/ondelete/toone/ToOneOnDeleteTest.java index 6fdc6f66e3..0c7d6224b8 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/ondelete/toone/ToOneOnDeleteTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/ondelete/toone/ToOneOnDeleteTest.java @@ -8,6 +8,7 @@ import org.hibernate.annotations.OnDelete; import org.hibernate.annotations.OnDeleteAction; import org.hibernate.dialect.SybaseDialect; +import org.hibernate.dialect.TiDBDialect; import org.hibernate.testing.orm.junit.DomainModel; import org.hibernate.testing.orm.junit.SessionFactory; import org.hibernate.testing.orm.junit.SessionFactoryScope; @@ -43,6 +44,7 @@ public class ToOneOnDeleteTest { matchSubTypes = true, reason = "Sybase does not support on delete actions" ) + @SkipForDialect(dialectClass = TiDBDialect.class) public void testManyToOne(SessionFactoryScope scope) { scope.inTransaction( session -> {