Annotation Type UseSqlParser


@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface UseSqlParser
Use the specified SqlParser class to parse SQL for the annotated SQL object class or method. The given SqlParser class must have a public constructor with any of the following signatures:
  • RewriterClass() // no arguments
  • RewriterClass(Class)
  • RewriterClass(Class,Method)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends SqlParser>
    Specify the SqlParser class to use.
  • Element Details

    • value

      Class<? extends SqlParser> value
      Specify the SqlParser class to use.
      Returns:
      the SqlParser class to use.