public class JDBCUpdateExecution extends JDBCBaseExecution implements org.teiid.translator.UpdateExecution
command, connection, context, executionFactory, fetchSize, statement, trimString| Constructor and Description |
|---|
JDBCUpdateExecution(org.teiid.language.Command command,
Connection connection,
org.teiid.translator.ExecutionContext context,
JDBCExecutionFactory env) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
int[] |
execute(org.teiid.language.BatchedUpdates batchedCommand) |
int[] |
getUpdateCounts() |
void |
setAtomic(boolean atomic) |
void |
setMaxPreparedInsertBatchSize(int maxPreparedInsertBatchSize) |
addStatementWarnings, bind, cancel, close, getCallableStatement, getConnection, getPreparedStatement, getStatement, setSizeContraints, translateCommandpublic JDBCUpdateExecution(org.teiid.language.Command command,
Connection connection,
org.teiid.translator.ExecutionContext context,
JDBCExecutionFactory env)
connection - sqlTranslator - logger - props - id - public void execute()
throws org.teiid.translator.TranslatorException
execute in interface org.teiid.translator.Executionorg.teiid.translator.TranslatorExceptionpublic int[] execute(org.teiid.language.BatchedUpdates batchedCommand)
throws org.teiid.translator.TranslatorException
org.teiid.translator.TranslatorExceptionpublic int[] getUpdateCounts()
throws org.teiid.translator.DataNotAvailableException,
org.teiid.translator.TranslatorException
getUpdateCounts in interface org.teiid.translator.UpdateExecutionorg.teiid.translator.DataNotAvailableExceptionorg.teiid.translator.TranslatorExceptionpublic void setMaxPreparedInsertBatchSize(int maxPreparedInsertBatchSize)
public void setAtomic(boolean atomic)
Copyright © 2018 JBoss by Red Hat. All rights reserved.