diff --git a/testing/src/main/java/org/hibernate/test/annotations/HibernateTestCase.java b/testing/src/main/java/org/hibernate/test/annotations/HibernateTestCase.java index 68c25425b5..83a025753b 100644 --- a/testing/src/main/java/org/hibernate/test/annotations/HibernateTestCase.java +++ b/testing/src/main/java/org/hibernate/test/annotations/HibernateTestCase.java @@ -195,7 +195,7 @@ public abstract class HibernateTestCase extends TestCase { if ( requiresDialectFeatureAnn != null ) { Class checkClass = requiresDialectFeatureAnn.value(); DialectChecks check = checkClass.newInstance(); - boolean skip = check.include( dialect ); + boolean skip = !check.include( dialect ); if ( skip ) { return buildSkip( dialect, requiresDialectFeatureAnn.comment(), requiresDialectFeatureAnn.jiraKey() ); }