public class IbatisVariableTypeHandler extends Object implements org.apache.ibatis.type.TypeHandler<VariableType>
Modifier and Type | Field and Description |
---|---|
protected VariableTypes |
variableTypes |
Constructor and Description |
---|
IbatisVariableTypeHandler() |
Modifier and Type | Method and Description |
---|---|
VariableType |
getResult(CallableStatement cs,
int columnIndex) |
VariableType |
getResult(ResultSet resultSet,
int columnIndex) |
VariableType |
getResult(ResultSet rs,
String columnName) |
protected VariableTypes |
getVariableTypes() |
void |
setParameter(PreparedStatement ps,
int i,
VariableType parameter,
org.apache.ibatis.type.JdbcType jdbcType) |
protected VariableTypes variableTypes
public VariableType getResult(ResultSet rs, String columnName) throws SQLException
getResult
in interface org.apache.ibatis.type.TypeHandler<VariableType>
SQLException
public VariableType getResult(CallableStatement cs, int columnIndex) throws SQLException
getResult
in interface org.apache.ibatis.type.TypeHandler<VariableType>
SQLException
public void setParameter(PreparedStatement ps, int i, VariableType parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
setParameter
in interface org.apache.ibatis.type.TypeHandler<VariableType>
SQLException
protected VariableTypes getVariableTypes()
public VariableType getResult(ResultSet resultSet, int columnIndex) throws SQLException
getResult
in interface org.apache.ibatis.type.TypeHandler<VariableType>
SQLException
Copyright © 2015. All rights reserved.