Package org.apache.commons.dbutils
Class AsyncQueryRunner.UpdateCallableStatement
java.lang.Object
org.apache.commons.dbutils.AsyncQueryRunner.UpdateCallableStatement
- Enclosing class:
- AsyncQueryRunner
@Deprecated
protected class AsyncQueryRunner.UpdateCallableStatement
extends Object
implements Callable<Integer>
Deprecated.
No longer used by this class. Will be removed in a future version.
Class that encapsulates the continuation for update calls.
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateCallableStatement
(Connection conn, boolean closeConn, PreparedStatement ps, String sql, Object... params) Deprecated. -
Method Summary
-
Constructor Details
-
UpdateCallableStatement
public UpdateCallableStatement(Connection conn, boolean closeConn, PreparedStatement ps, String sql, Object... params) Deprecated.- Parameters:
conn
- The connection to use for the batch call.closeConn
- True if the connection should be closed, false otherwise.ps
- ThePreparedStatement
to be executed.sql
- The SQL statement to execute.params
- An array of query replacement parameters. Each row in this array is one set of batch replacement values.
-
-
Method Details
-
call
Deprecated.The actual call toexecuteUpdate()
method.- Specified by:
call
in interfaceCallable<Integer>
- Returns:
- either (1) the row count for SQL Data Manipulation Language (DML) statements or (2) 0 for SQL statements that return nothing
- Throws:
SQLException
- if a database access error occurs.- See Also:
-