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, translateCommandpublic JDBCUpdateExecution(Command command, Connection connection, ExecutionContext context, JDBCExecutionFactory env)
connection - sqlTranslator - logger - props - id - public void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic int[] execute(BatchedUpdates batchedCommand) throws TranslatorException
TranslatorExceptionpublic int[] getUpdateCounts()
throws DataNotAvailableException,
TranslatorException
UpdateExecutiongetUpdateCounts in interface UpdateExecutionDataNotAvailableExceptionTranslatorExceptionpublic void setMaxPreparedInsertBatchSize(int maxPreparedInsertBatchSize)
public void setAtomic(boolean atomic)
Copyright © 2018 JBoss by Red Hat. All rights reserved.