Annotation Type UseTemplateEngine


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

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specify the TemplateEngine class to use.
  • Element Details

    • value

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