Package org.hibernate.testing.orm.junit
Annotation Interface RequiresDialectFeature
@Inherited
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Repeatable(RequiresDialectFeatureGroup.class)
@ExtendWith(DialectFilterExtension.class)
public @interface RequiresDialectFeature
Annotation used to indicate that a test should be run only when the current dialect supports the
specified feature.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
feature
Class<? extends DialectFeatureCheck> feature- Returns:
- Class which checks the necessary dialect feature
-
-
-
reverse
boolean reverse- Returns:
- Whether the decision of
feature()
is reversed
- Default:
- false
-
comment
String commentComment describing the reason why the feature is required.- Returns:
- The comment
- Default:
- ""
-
jiraKey
String jiraKeyThe key of a JIRA issue which relates this this feature requirement.- Returns:
- The jira issue key
- Default:
- ""
-