open class CallableStatementCreatorFactory
Helper class that efficiently creates multiple CallableStatementCreator objects with different parameters based on a SQL statement and a single set of parameter declarations.
Author
Rod Johnson
Author
Thomas Risberg
Author
Juergen Hoeller
CallableStatementCreatorFactory(callString: String)
Create a new factory. Will need to add parameters via the CallableStatementCreatorFactory(callString: String, declaredParameters: MutableList<SqlParameter>)
Create a new factory with the given SQL and the given parameters. |
open fun addParameter(param: SqlParameter): Unit
Add a new declared parameter. Order of parameter addition is significant. |
|
open fun newCallableStatementCreator(params: MutableMap<String, *>): CallableStatementCreator
Return a new CallableStatementCreator instance given this parameters. open fun newCallableStatementCreator(inParamMapper: ParameterMapper): CallableStatementCreator
Return a new CallableStatementCreator instance given this parameter mapper. |
|
open fun setResultSetType(resultSetType: Int): Unit
Set whether to use prepared statements that return a specific type of ResultSet. specific type of ResultSet. |
|
open fun setUpdatableResults(updatableResults: Boolean): Unit
Set whether to use prepared statements capable of returning updatable ResultSets. |