接口 Statement<STMT_T,​RES_T>

    • 方法详细资料

      • execute

        RES_T execute()
        Execute the statement synchronously.
        返回:
        result of statement execution
      • clearBindings

        default STMT_T clearBindings()
        Clear all bindings for this statement.
        返回:
        this statement
      • bind

        default STMT_T bind​(String argName,
                            Object value)
        Bind the named argument to the given value.
        参数:
        argName - argument name
        value - object to bind
        返回:
        this statement
      • bind

        default STMT_T bind​(Map<String,​Object> values)
        Bind the set of arguments named by the keys in the map to the associated values in the map.
        参数:
        values - the map containing key-value pairs to bind
        返回:
        this statement
      • bind

        default STMT_T bind​(List<Object> values)
        Bind a list of objects numerically starting at 0.
        参数:
        values - list of objects to bind
        返回:
        this statement
      • bind

        default STMT_T bind​(Object... values)
        Bind an array of objects numerically starting at 0.
        参数:
        values - one or more objects to bind
        返回:
        this statement