|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.skife.jdbi.v2.SQLStatement<Update>
org.skife.jdbi.v2.Update
public class Update
Used for INSERT, UPDATE, and DELETE statements
| Method Summary | ||
|---|---|---|
int |
execute()
Execute the statement |
|
GeneratedKeys<Map<String,Object>> |
executeAndReturnGeneratedKeys()
|
|
|
executeAndReturnGeneratedKeys(ResultSetMapper<GeneratedKeyType> mapper)
Execute the statement and returns any auto-generated keys. |
|
| Methods inherited from class org.skife.jdbi.v2.SQLStatement |
|---|
addStatementCustomizer, 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, bindAsInt, bindAsInt, bindAsInt, bindAsInt, bindBinaryStream, bindBinaryStream, bindBySqlType, bindBySqlType, bindFromMap, bindFromProperties, bindNamedArgumentFinder, bindNull, bindNull, define, define, getConcreteContext, getConnection, getContext, getLog, getParameters, getParams, getRewriter, getSql, getStatementBuilder, getStatementCustomizers, getStatementLocator, getTimingCollector, internalExecute, setFetchDirection, setQueryTimeout, setStatementLocator, setStatementRewriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int execute()
public GeneratedKeys<Map<String,Object>> executeAndReturnGeneratedKeys()
public <GeneratedKeyType> GeneratedKeys<GeneratedKeyType> executeAndReturnGeneratedKeys(ResultSetMapper<GeneratedKeyType> mapper)
Statement.getGeneratedKeys() method.
mapper - the mapper to generate the resulting key object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||