Package org.hibernate.testing
Annotation Interface RequiresDialect
@Target({METHOD,TYPE})
@Retention(RUNTIME)
@Repeatable(RequiresDialects.class)
@Deprecated(forRemoval=true)
public @interface RequiresDialect
Deprecated, for removal: This API element is subject to removal in a future version.
Annotation used to indicate that a test should be run only when run against the
indicated dialects.
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Comment describing the reason why the dialect is required.Deprecated, for removal: This API element is subject to removal in a future version.The key of a JIRA issue which relates this this restrictionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Used to indicate if the dialects should be matched strictly (classes equal) or non-strictly (instanceof).
-
Element Details
-
value
Deprecated, for removal: This API element is subject to removal in a future version.The dialects against which to run the test- Returns:
- The dialects
-
-
-
strictMatching
boolean strictMatchingDeprecated, for removal: This API element is subject to removal in a future version.Used to indicate if the dialects should be matched strictly (classes equal) or non-strictly (instanceof).- Returns:
- Should strict matching be used?
- Default:
- false
-
comment
String commentDeprecated, for removal: This API element is subject to removal in a future version.Comment describing the reason why the dialect is required.- Returns:
- The comment
- Default:
- ""
-
jiraKey
String jiraKeyDeprecated, for removal: This API element is subject to removal in a future version.The key of a JIRA issue which relates this this restriction- Returns:
- The jira issue key
- Default:
- ""
-
RequiresDialect
instead.