diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collate/MySQLCollateTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collate/MySQLCollateTest.java index 99999df55b..8a86fbc504 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collate/MySQLCollateTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collate/MySQLCollateTest.java @@ -7,15 +7,18 @@ import jakarta.persistence.GeneratedValue; import jakarta.persistence.Id; import org.hibernate.annotations.Collate; import org.hibernate.dialect.MySQLDialect; +import org.hibernate.dialect.TiDBDialect; import org.hibernate.testing.orm.junit.DomainModel; import org.hibernate.testing.orm.junit.RequiresDialect; import org.hibernate.testing.orm.junit.SessionFactory; import org.hibernate.testing.orm.junit.SessionFactoryScope; +import org.hibernate.testing.orm.junit.SkipForDialect; import org.junit.jupiter.api.Test; @SessionFactory @DomainModel(annotatedClasses = MySQLCollateTest.Message.class) @RequiresDialect(MySQLDialect.class) +@SkipForDialect(dialectClass = TiDBDialect.class) public class MySQLCollateTest { @Test void test(SessionFactoryScope scope) {