|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.jdbc.object.RdbmsOperation
org.springframework.jdbc.object.SqlOperation
RdbmsOperation using a JdbcTemplate and representing a SQL-based operation such as a query or update, as opposed to a stored procedure.
Configures a PreparedStatementCreatorFactory based on the declared parameters.
| Field Summary |
| Fields inherited from class org.springframework.jdbc.object.RdbmsOperation |
logger |
| Constructor Summary | |
SqlOperation()
|
|
| Method Summary | |
protected void |
compileInternal()
Overridden method to configure the PreparedStatementCreatorFactory based on our declared parameters. |
protected PreparedStatementCreator |
newPreparedStatementCreator(Object[] params)
Return a PreparedStatementCreator to perform an operation with the given parameters. |
protected PreparedStatementSetter |
newPreparedStatementSetter(Object[] params)
Return a PreparedStatementSetter to perform an operation with thhe given parameters. |
protected void |
onCompileInternal()
Hook method that subclasses may override to post-process compilation. |
| Methods inherited from class org.springframework.jdbc.object.RdbmsOperation |
afterPropertiesSet, compile, declareParameter, getDeclaredParameters, getGeneratedKeysColumnNames, getJdbcTemplate, getResultSetType, getSql, isCompiled, isReturnGeneratedKeys, isUpdatableResults, setDataSource, setGeneratedKeysColumnNames, setJdbcTemplate, setResultSetType, setReturnGeneratedKeys, setSql, setTypes, setUpdatableResults, supportsLobParameters, validateParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SqlOperation()
| Method Detail |
protected final void compileInternal()
compileInternal in class RdbmsOperationprotected void onCompileInternal()
compileInternal()protected final PreparedStatementCreator newPreparedStatementCreator(Object[] params)
params - parameter array. May be null.protected final PreparedStatementSetter newPreparedStatementSetter(Object[] params)
params - parameter array. May be null.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||