Java org.springframework.jdbc.object SqlUpdate fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.jdbc.object SqlUpdate fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.jdbc.object SqlUpdate.

The text is from its open source code.

Subclass

org.springframework.jdbc.object.SqlUpdate has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

voidcompile()
Compile this query.
voidsetGeneratedKeysColumnNames(@Nullable String... names)
Set the column names of the auto-generated keys.
voidsetReturnGeneratedKeys(boolean returnGeneratedKeys)
Set whether prepared statements should be capable of returning auto-generated keys.
intupdate(Object[] params, KeyHolder generatedKeyHolder)
Method to execute the update given arguments and retrieve the generated keys using a KeyHolder.
intupdate(int p1, int p2)
Convenient method to execute an update given two int args.
intupdate(long p1, long p2)
Convenient method to execute an update given two long args.
intupdate(String p1, String p2)
Convenient method to execute an update given two String args.