Package org.hibernate.testing.orm.junit
Annotation Type RequiresDialect
-
@Inherited @Retention(RUNTIME) @Target({TYPE,METHOD,ANNOTATION_TYPE}) @Repeatable(RequiresDialects.class) @ExtendWith(DialectFilterExtension.class) public @interface RequiresDialect
Indicates that the annotated test class/method should only be run when the indicated Dialect is being used.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
comment
Comment describing the reason why the dialect is required.boolean
matchSubTypes
Should subtypes ofvalue()
be matched?
-
-
-
Element Detail
-
value
Class<? extends org.hibernate.dialect.Dialect> value
The Dialect class to match.
-
-
-
matchSubTypes
boolean matchSubTypes
Should subtypes ofvalue()
be matched?- Default:
- true
-
-
-
comment
String comment
Comment describing the reason why the dialect is required.- Returns:
- The comment
- Default:
- ""
-
-