Annotation Interface Call


@Retention(RUNTIME) @Target(METHOD) public @interface Call
The Interface Call.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
     
    boolean
    Set it to true if there is only one input parameter and the type is Collection/Object Array, and the target db column type is Collection/Object Array.
    Set it to true if want to retrieve all the ResultSets returned from the executed procedure by queryAll/listAll/streamAll.
    int
    Unit is seconds.
     
    Deprecated.
    using sql="call update_account(?)" for explicit call.
  • Element Details

    • value

      Deprecated.
      using sql="call update_account(?)" for explicit call.
      Returns:
      Default:
      ""
    • id

      String id
      Returns:
      Default:
      ""
    • sql

      String sql
      Returns:
      Default:
      ""
    • fetchSize

      int fetchSize
      Returns:
      Default:
      -1
    • queryTimeout

      int queryTimeout
      Unit is seconds.
      Returns:
      Default:
      -1
    • isSingleParameter

      boolean isSingleParameter
      Set it to true if there is only one input parameter and the type is Collection/Object Array, and the target db column type is Collection/Object Array.
      Returns:
      Default:
      false
    • op

      OP op
      Set it to true if want to retrieve all the ResultSets returned from the executed procedure by queryAll/listAll/streamAll. It is false by default. The reason is all the query methods extended from AbstractQuery only retrieve the first ResultSet.
      Default:
      DEFAULT