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
      java.lang.String value
      Returns the SQL string (or name).
    • Element Detail

      • value

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