Java org.springframework.jdbc.core PreparedStatementCreatorFactory fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.jdbc.core PreparedStatementCreatorFactory fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Constructor

PreparedStatementCreatorFactory(String sql, int... types)
Create a new factory with the given SQL and JDBC types.
PreparedStatementCreatorFactory(String sql, List declaredParameters)
Create a new factory with the given SQL and parameters.

Method

PreparedStatementCreatornewPreparedStatementCreator(@Nullable List params)
Return a new PreparedStatementCreator for the given parameters.
PreparedStatementCreatornewPreparedStatementCreator(@Nullable Object[] params)
Return a new PreparedStatementCreator for the given parameters.
voidsetGeneratedKeysColumnNames(String... names)
Set the column names of the auto-generated keys.
voidsetResultSetType(int resultSetType)
Set whether to use prepared statements that return a specific type of ResultSet.
voidsetReturnGeneratedKeys(boolean returnGeneratedKeys)
Set whether prepared statements should be capable of returning auto-generated keys.
voidsetUpdatableResults(boolean updatableResults)
Set whether to use prepared statements capable of returning updatable ResultSets.