diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/type/H2JsonListTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/type/H2JsonListTest.java index cf4ceee8a0..59136da732 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/type/H2JsonListTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/type/H2JsonListTest.java @@ -33,7 +33,7 @@ import static org.assertj.core.api.Assertions.assertThat; @SessionFactory @DomainModel( annotatedClasses = { H2JsonListTest.Path.class, H2JsonListTest.PathClob.class } ) -@RequiresDialect( H2Dialect.class ) +@RequiresDialect( value = H2Dialect.class, majorVersion = 2 ) @Jira( "https://hibernate.atlassian.net/browse/HHH-16320" ) public class H2JsonListTest { @BeforeAll