@Deprecated protected class AsyncQueryRunner.UpdateCallableStatement extends Object implements Callable<Integer>
| Constructor and Description |
|---|
UpdateCallableStatement(Connection conn,
boolean closeConn,
PreparedStatement ps,
String sql,
Object... params)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
call()
Deprecated.
The actual call to
executeUpdate() method. |
public UpdateCallableStatement(Connection conn, boolean closeConn, PreparedStatement ps, String sql, Object... params)
conn - The connection to use for the batch call.closeConn - True if the connection should be closed, false otherwise.ps - The PreparedStatement 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.public Integer call() throws SQLException
executeUpdate() method.call in interface Callable<Integer>SQLException - if a database access error occurs.PreparedStatement.executeUpdate()Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.