Package org.apache.commons.dbutils
Class AsyncQueryRunner.UpdateCallableStatement
- java.lang.Object
-
- org.apache.commons.dbutils.AsyncQueryRunner.UpdateCallableStatement
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
- Enclosing class:
- AsyncQueryRunner
@Deprecated protected class AsyncQueryRunner.UpdateCallableStatement extends java.lang.Object implements java.util.concurrent.Callable<java.lang.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
Constructors Constructor Description UpdateCallableStatement(java.sql.Connection conn, boolean closeConn, java.sql.PreparedStatement ps, java.lang.String sql, java.lang.Object... params)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Integercall()Deprecated.The actual call toexecuteUpdate()method.
-
-
-
Constructor Detail
-
UpdateCallableStatement
public UpdateCallableStatement(java.sql.Connection conn, boolean closeConn, java.sql.PreparedStatement ps, java.lang.String sql, java.lang.Object... params)Deprecated.- Parameters:
conn- The connection to use for the batch call.closeConn- True if the connection should be closed, false otherwise.ps- ThePreparedStatementto 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 Detail
-
call
public java.lang.Integer call() throws java.sql.SQLExceptionDeprecated.The actual call toexecuteUpdate()method.- Specified by:
callin interfacejava.util.concurrent.Callable<java.lang.Integer>- Returns:
- either (1) the row count for SQL Data Manipulation Language (DML) statements or (2) 0 for SQL statements that return nothing
- Throws:
java.sql.SQLException- if a database access error occurs.- See Also:
PreparedStatement.executeUpdate()
-
-