public class JDBCUpdateExecution extends JDBCBaseExecution implements UpdateExecution
command, connection, context, executionFactory, fetchSize, statement, trimString
Constructor and Description |
---|
JDBCUpdateExecution(Command command,
Connection connection,
ExecutionContext context,
JDBCExecutionFactory env) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the associated command.
|
int[] |
execute(BatchedUpdates batchedCommand) |
int[] |
getUpdateCounts()
Returns the update counts for the execution.
|
void |
setAtomic(boolean atomic) |
void |
setMaxPreparedInsertBatchSize(int maxPreparedInsertBatchSize) |
addStatementWarnings, bind, cancel, close, getCallableStatement, getConnection, getPreparedStatement, getStatement, setSizeContraints, translateCommand
public JDBCUpdateExecution(Command command, Connection connection, ExecutionContext context, JDBCExecutionFactory env)
public void execute() throws TranslatorException
Execution
execute
in interface Execution
TranslatorException
public int[] execute(BatchedUpdates batchedCommand) throws TranslatorException
TranslatorException
public int[] getUpdateCounts() throws DataNotAvailableException, TranslatorException
UpdateExecution
getUpdateCounts
in interface UpdateExecution
DataNotAvailableException
TranslatorException
public void setMaxPreparedInsertBatchSize(int maxPreparedInsertBatchSize)
public void setAtomic(boolean atomic)
Copyright © 2019. All rights reserved.