com.ibatis.db.sqlmap.typehandler
Class BigDecimalTypeHandler
java.lang.Object
com.ibatis.db.sqlmap.typehandler.BaseTypeHandler
com.ibatis.db.sqlmap.typehandler.BigDecimalTypeHandler
- All Implemented Interfaces:
- TypeHandler
- public class BigDecimalTypeHandler
- extends BaseTypeHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BigDecimalTypeHandler
public BigDecimalTypeHandler()
getValueByName
protected java.lang.Object getValueByName(ResultMapping mapping,
java.sql.ResultSet rs)
throws java.sql.SQLException
- Specified by:
getValueByName
in class BaseTypeHandler
- Throws:
java.sql.SQLException
getValueByIndex
protected java.lang.Object getValueByIndex(ResultMapping mapping,
java.sql.ResultSet rs)
throws java.sql.SQLException
- Specified by:
getValueByIndex
in class BaseTypeHandler
- Throws:
java.sql.SQLException
getNullValue
protected java.lang.Object getNullValue(java.lang.String nullValue)
throws java.sql.SQLException
- Specified by:
getNullValue
in class BaseTypeHandler
- Throws:
java.sql.SQLException
instantiateValue
public java.lang.Object instantiateValue()
isEqualToNullValue
public boolean isEqualToNullValue(java.lang.String nullValue,
java.lang.Object realValue)
isSimpleType
public boolean isSimpleType()
setParameter
public void setParameter(ParameterMapping mapping,
java.sql.PreparedStatement ps,
int index,
java.lang.Object value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException