Example usage for Java org.springframework.jdbc.object SqlUpdate fields, constructors, methods, implement or subclass
The text is from its open source code.
SqlUpdate() Constructor to allow use as a JavaBean. | |
SqlUpdate(DataSource ds, String sql, int[] types) Construct an update object with a given DataSource, SQL and anonymous parameters. | |
SqlUpdate(DataSource ds, String sql) Constructs an update object with a given DataSource and SQL. |
void | compile() Compile this query. |
void | setGeneratedKeysColumnNames(@Nullable String... names) Set the column names of the auto-generated keys. |
void | setReturnGeneratedKeys(boolean returnGeneratedKeys) Set whether prepared statements should be capable of returning auto-generated keys. |
int | update(Object[] params, KeyHolder generatedKeyHolder) Method to execute the update given arguments and retrieve the generated keys using a KeyHolder. |
int | update(int p1, int p2) Convenient method to execute an update given two int args. |
int | update(long p1, long p2) Convenient method to execute an update given two long args. |
int | update(String p1, String p2) Convenient method to execute an update given two String args. |