Annotation Interface RequiresDialect


Indicates that the annotated test class/method should only be run when the indicated Dialect is being used.
  • Element Details

    • value

      Class<? extends org.hibernate.dialect.Dialect> value
      The Dialect class to match.
    • matchSubTypes

      boolean matchSubTypes
      Should subtypes of value() be matched?
      Default:
      true
    • majorVersion

      int majorVersion
      Default:
      -1
    • minorVersion

      int minorVersion
      Default:
      -1
    • microVersion

      int microVersion
      Default:
      -1
    • versionMatchMode

      VersionMatchMode versionMatchMode
      Default:
      SAME_OR_NEWER
    • comment

      String comment
      Comment describing the reason why the dialect is required.
      Returns:
      The comment
      Default:
      ""