com.ibatis.db.sqlmap.typehandler
Class SqlTimeTypeHandler
java.lang.Object
com.ibatis.db.sqlmap.typehandler.BaseTypeHandler
com.ibatis.db.sqlmap.typehandler.SqlTimeTypeHandler
- All Implemented Interfaces:
- TypeHandler
public class SqlTimeTypeHandler
- extends BaseTypeHandler
User: clinton_begin
Date: Jul 17, 2003
Time: 3:53:58 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlTimeTypeHandler
public SqlTimeTypeHandler()
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