Annotation Type SqlScript


@Retention(RUNTIME) @Target(METHOD) @Repeatable(SqlScripts.class) public @interface SqlScript
Annotate a method to indicate that it will execute one or more SQL statements.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the SQL string (or name).
  • Element Details

    • value

      String value
      Returns the SQL string (or name).
      Returns:
      The SQL string (or name).
      Default:
      ""