public class Update extends SqlStatement<Update>
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
execute()
Executes the statement, returning the update count.
|
<R> R |
execute(ResultProducer<R> producer)
Executes the update, returning the result obtained from the given
ResultProducer. |
ResultBearing |
executeAndReturnGeneratedKeys(String... generatedKeyColumnNames)
Execute the statement and returns any auto-generated keys.
|
ConfigRegistry |
getConfig()
Returns the configuration registry associated with this object.
|
StatementContext |
getContext() |
Handle |
getHandle() |
bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bind, bindASCIIStream, bindASCIIStream, bindBean, bindBean, bindBeanList, bindBinaryStream, bindBinaryStream, bindBySqlType, bindBySqlType, bindByType, bindByType, bindByType, bindByType, bindByType, bindByType, bindFields, bindFields, bindList, bindList, bindMap, bindMethods, bindMethods, bindMethodsList, bindNamedArgumentFinder, bindNull, bindNull, bindNVarchar, bindNVarchar, bindPojo, bindPojo, cleanupHandleCommit, cleanupHandleRollback, defineList, defineList, defineNamedBindings, getBinding, getSql, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCustomizer, configure, define, getConfig, registerArgument, registerArrayType, registerArrayType, registerArrayType, registerArrayType, registerCollector, registerColumnMapper, registerColumnMapper, registerColumnMapper, registerColumnMapper, registerColumnMapper, registerExtension, registerRowMapper, registerRowMapper, registerRowMapper, registerRowMapper, setMapKeyColumn, setMapValueColumn, setSqlArrayArgumentStrategy, setSqlLogger, setSqlParser, setTemplateEnginepublic int execute()
public <R> R execute(ResultProducer<R> producer)
ResultProducer.R - the result typeproducer - the result producer.public ResultBearing executeAndReturnGeneratedKeys(String... generatedKeyColumnNames)
Statement.getGeneratedKeys() method.generatedKeyColumnNames - optional list of generated key column names.public void close()
close in interface Closeableclose in interface AutoCloseablepublic ConfigRegistry getConfig()
ConfigurablegetConfig in interface Configurable<This>public final StatementContext getContext()
public Handle getHandle()
Copyright © 2019. All rights reserved.