Annotation Interface Insert


@Retention(RUNTIME) @Target(METHOD) public @interface Insert
The Interface Insert.
See Also:
  • Element Details

    • value

      Deprecated.
      using sql="SELECT ... FROM ..." for explicit call.
      Returns:
      Default:
      ""
    • id

      String id
      Returns:
      Default:
      ""
    • sql

      String sql
      Returns:
      Default:
      ""
    • isBatch

      boolean isBatch
      Returns:
      Default:
      false
    • batchSize

      int batchSize
      Returns:
      Default:
      200
    • 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
    • hasDefineWithNamedParameter

      @Beta boolean hasDefineWithNamedParameter
      Default:
      false