com.interface21.jdbc.object
Interface StoredProcedure.ParameterMapper
- Enclosing class:
- StoredProcedure
- protected static interface StoredProcedure.ParameterMapper
Implement this interface when parameters need to be customized based
on the connection. We might need to do this to make
use of proprietary features, available only with a specific
Connection type.
|
Method Summary |
java.util.Map |
createMap(java.sql.Connection con)
|
createMap
public java.util.Map createMap(java.sql.Connection con)
throws java.sql.SQLException
- Parameters:
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. This class conceals
such proprietary details. However, it is best to avoid using
such proprietary RDBMS features if possible.- Returns:
- input parameters, keyed by name
Rod Johnson and Spring contributors 2001-2003.