| java.lang.Object | ||
| ↳ | org.springframework.jdbc.object.RdbmsOperation | |
| ↳ | org.springframework.jdbc.object.SqlCall | |
Known Direct Subclasses
|
Known Indirect Subclasses
|
RdbmsOperation using a JdbcTemplate and representing a SQL-based call such as a stored procedure or a stored function.
Configures a CallableStatementCreatorFactory based on the declared parameters.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.jdbc.object.RdbmsOperation
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor to allow use as a JavaBean.
| |||||||||||
Create a new SqlCall object with SQL, but without parameters.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the call string.
| |||||||||||
Return whether this call is for a function.
| |||||||||||
Return whether the SQL can be used as is.
| |||||||||||
Set whether this call is for a function.
| |||||||||||
Set whether the SQL can be used as is.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Overridden method to configure the CallableStatementCreatorFactory
based on our declared parameters.
| |||||||||||
Return a CallableStatementCreator to perform an operation
with the parameters returned from this ParameterMapper.
| |||||||||||
Return a CallableStatementCreator to perform an operation
with this parameters.
| |||||||||||
Hook method that subclasses may override to react to compilation.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.jdbc.object.RdbmsOperation
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
| |||||||||||
Constructor to allow use as a JavaBean.
A DataSource, SQL and any parameters must be supplied before
invoking the compile method and using this object.
Create a new SqlCall object with SQL, but without parameters. Must add parameters or settle with none.
| ds | DataSource to obtain connections from |
|---|---|
| sql | SQL to execute |
Return whether this call is for a function.
Return whether the SQL can be used as is.
Set whether this call is for a function.
Set whether the SQL can be used as is.
Overridden method to configure the CallableStatementCreatorFactory based on our declared parameters.
Return a CallableStatementCreator to perform an operation with the parameters returned from this ParameterMapper.
| inParamMapper | parametermapper. May not be null.
|
|---|
Return a CallableStatementCreator to perform an operation with this parameters.
| inParams | parameters. May be null.
|
|---|
Hook method that subclasses may override to react to compilation. This implementation does nothing.