org.apache.ibatis.type
Interface TypeHandler

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

public interface TypeHandler


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

Method Detail

setParameter

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

getResult

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

getResult

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


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