org.apache.ibatis.type
Interface TypeHandler<T>

All Known Implementing Classes:
ArrayTypeHandler, BaseTypeHandler, BigDecimalTypeHandler, BigIntegerTypeHandler, BlobTypeHandler, BooleanTypeHandler, ByteArrayTypeHandler, ByteTypeHandler, CharacterTypeHandler, ClobTypeHandler, DateOnlyTypeHandler, DateTypeHandler, DoubleTypeHandler, EnumOrdinalTypeHandler, EnumTypeHandler, FloatTypeHandler, IntegerTypeHandler, LongTypeHandler, NClobTypeHandler, NStringTypeHandler, ObjectTypeHandler, ShortTypeHandler, SqlDateTypeHandler, SqlTimestampTypeHandler, SqlTimeTypeHandler, StringTypeHandler, TimeOnlyTypeHandler, UnknownTypeHandler

public interface TypeHandler<T>


Method Summary
 T getResult(CallableStatement cs, int columnIndex)
           
 T getResult(ResultSet rs, int columnIndex)
           
 T getResult(ResultSet rs, String columnName)
           
 void setParameter(PreparedStatement ps, int i, T parameter, JdbcType jdbcType)
           
 

Method Detail

setParameter

void setParameter(PreparedStatement ps,
                  int i,
                  T parameter,
                  JdbcType jdbcType)
                  throws SQLException
Throws:
SQLException

getResult

T getResult(ResultSet rs,
            String columnName)
            throws SQLException
Throws:
SQLException

getResult

T getResult(ResultSet rs,
            int columnIndex)
            throws SQLException
Throws:
SQLException

getResult

T getResult(CallableStatement cs,
            int columnIndex)
            throws SQLException
Throws:
SQLException


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.