public class JdbcOutParameterRegistrar extends java.lang.Object implements JdbcMappingFunction
| Modifier and Type | Field and Description |
|---|---|
protected java.sql.CallableStatement |
callableStatement |
protected int |
index |
| Constructor and Description |
|---|
JdbcOutParameterRegistrar(java.sql.CallableStatement callableStatement,
int index) |
| Modifier and Type | Method and Description |
|---|---|
<R,V> R |
apply(Wrapper<V> wrapper,
JdbcType<V> jdbcType)
Applies this function.
|
protected final java.sql.CallableStatement callableStatement
protected final int index
public JdbcOutParameterRegistrar(java.sql.CallableStatement callableStatement,
int index)
public <R,V> R apply(Wrapper<V> wrapper, JdbcType<V> jdbcType) throws java.sql.SQLException
JdbcMappingFunctionapply in interface JdbcMappingFunctionR - the return typeV - the basic typewrapper - the wrapperjdbcType - the JDBC typejava.sql.SQLException - if an SQL related error occurs