|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jdbc.core.CallableStatementCreatorFactory.CallableStatementCreatorImpl
private class CallableStatementCreatorFactory.CallableStatementCreatorImpl
CallableStatementCreator implementation returned by this class.
Field Summary | |
---|---|
private ParameterMapper |
inParameterMapper
|
private java.util.Map<java.lang.String,?> |
inParameters
|
Constructor Summary | |
---|---|
CallableStatementCreatorFactory.CallableStatementCreatorImpl(java.util.Map<java.lang.String,?> inParams)
Create a new CallableStatementCreatorImpl. |
|
CallableStatementCreatorFactory.CallableStatementCreatorImpl(ParameterMapper inParamMapper)
Create a new CallableStatementCreatorImpl. |
Method Summary | |
---|---|
void |
cleanupParameters()
Close the resources allocated by parameters that the implementing object holds, for example in case of a DisposableSqlTypeValue (like a SqlLobValue). |
java.sql.CallableStatement |
createCallableStatement(java.sql.Connection con)
Create a callable statement in this connection. |
java.lang.String |
getSql()
Return the SQL string for this object, i.e. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private ParameterMapper inParameterMapper
private java.util.Map<java.lang.String,?> inParameters
Constructor Detail |
---|
public CallableStatementCreatorFactory.CallableStatementCreatorImpl(ParameterMapper inParamMapper)
inParamMapper
- ParameterMapper implementation for mapping input parameterspublic CallableStatementCreatorFactory.CallableStatementCreatorImpl(java.util.Map<java.lang.String,?> inParams)
inParams
- list of SqlParameter objectsMethod Detail |
---|
public java.sql.CallableStatement createCallableStatement(java.sql.Connection con) throws java.sql.SQLException
CallableStatementCreator
createCallableStatement
in interface CallableStatementCreator
con
- Connection to use to create statement
java.sql.SQLException
- there is no need to catch SQLExceptions
that may be thrown in the implementation of this method.
The JdbcTemplate class will handle them.public java.lang.String getSql()
SqlProvider
getSql
in interface SqlProvider
null
public void cleanupParameters()
ParameterDisposer
cleanupParameters
in interface ParameterDisposer
DisposableSqlTypeValue.cleanup()
,
SqlLobValue.cleanup()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |