Package org.hibernate.testing.orm.junit
Annotation Interface RequiresDialect
@Inherited
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@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.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionComment describing the reason why the dialect is required.int
boolean
Should subtypes ofvalue()
be matched?int
int
-
Element Details
-
value
The Dialect class to match.
-
-
-
matchSubTypes
boolean matchSubTypesShould subtypes ofvalue()
be matched?- Default:
- true
-
majorVersion
int majorVersion- Default:
- -1
-
minorVersion
int minorVersion- Default:
- -1
-
microVersion
int microVersion- Default:
- -1
-
comment
String commentComment describing the reason why the dialect is required.- Returns:
- The comment
- Default:
- ""
-