com.ibatis.db.sqlmap.typehandler
Class BaseTypeHandler
java.lang.Object
com.ibatis.db.sqlmap.typehandler.BaseTypeHandler
- All Implemented Interfaces:
- TypeHandler
- Direct Known Subclasses:
- BigDecimalTypeHandler, BooleanTypeHandler, ByteArrayTypeHandler, ByteTypeHandler, DateTypeHandler, DoubleTypeHandler, FloatTypeHandler, IntegerTypeHandler, LongTypeHandler, ObjectTypeHandler, ShortTypeHandler, SqlDateTypeHandler, SqlTimestampTypeHandler, SqlTimeTypeHandler, StringTypeHandler
- public abstract class BaseTypeHandler
- extends java.lang.Object
- implements TypeHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseTypeHandler
public BaseTypeHandler()
setBeanProperty
public void setBeanProperty(ResultMapping mapping,
java.sql.ResultSet rs,
java.lang.Object object)
throws java.sql.SQLException
- Specified by:
setBeanProperty
in interface TypeHandler
- Throws:
java.sql.SQLException
getValueByName
protected abstract java.lang.Object getValueByName(ResultMapping mapping,
java.sql.ResultSet rs)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getValueByIndex
protected abstract java.lang.Object getValueByIndex(ResultMapping mapping,
java.sql.ResultSet rs)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getNullValue
protected abstract java.lang.Object getNullValue(java.lang.String nullValue)
throws java.sql.SQLException
- Throws:
java.sql.SQLException