Annotation Type SQLInsert


@Target({TYPE,FIELD,METHOD}) @Retention(RUNTIME) public @interface SQLInsert
SqlInsert Annotation for overwriting Hibernate default INSERT INTO method
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Procedure name or INSERT STATEMENT
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Is the statement using stored procedure or not
    For persistence operation what style of determining results (success/failure) is to be used.
  • Element Details

    • sql

      String sql
      Procedure name or INSERT STATEMENT
    • callable

      boolean callable
      Is the statement using stored procedure or not
      Default:
      false
    • check

      For persistence operation what style of determining results (success/failure) is to be used.
      Default:
      NONE