public interface ParameterMapper
CallableStatementCreatorFactory.newCallableStatementCreator(ParameterMapper)
,
StoredProcedure.execute(ParameterMapper)
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,?> |
createMap(java.sql.Connection con)
Create a Map of input parameters, keyed by name.
|
java.util.Map<java.lang.String,?> createMap(java.sql.Connection con) throws java.sql.SQLException
con
- JDBC connection. This is useful (and the purpose of this interface)
if we need to do something RDBMS-specific with a proprietary Connection
implementation class. This class conceals such proprietary details. However,
it is best to avoid using such proprietary RDBMS features if possible.null
)java.sql.SQLException
- if a SQLException is encountered setting
parameter values (that is, there's no need to catch SQLException)