Annotation Interface Query


@Retention(RUNTIME) @Target(METHOD) @Documented public @interface Query
Annotation to provide SQL statements that will get used for executing the method.
Author:
Mark Paluch
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The SQL statement to execute when the annotated method gets invoked.
  • Element Details

    • value

      String value
      The SQL statement to execute when the annotated method gets invoked.