|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jdbc.core.JdbcTemplate.SimpleCallableStatementCreator
Simple adapter for CallableStatementCreator, allowing to use a plain SQL statement.
Constructor Summary | |
JdbcTemplate.SimpleCallableStatementCreator(java.lang.String callString)
|
Method Summary | |
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, typically the SQL used for creating statements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JdbcTemplate.SimpleCallableStatementCreator(java.lang.String callString)
Method 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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |