org.apache.ibatis.type
Class SqlTimestampTypeHandler
java.lang.Object
org.apache.ibatis.type.TypeReference<T>
org.apache.ibatis.type.BaseTypeHandler<Timestamp>
org.apache.ibatis.type.SqlTimestampTypeHandler
- All Implemented Interfaces:
- TypeHandler<Timestamp>
public class SqlTimestampTypeHandler
- extends BaseTypeHandler<Timestamp>
SqlTimestampTypeHandler
public SqlTimestampTypeHandler()
setNonNullParameter
public void setNonNullParameter(PreparedStatement ps,
int i,
Timestamp parameter,
JdbcType jdbcType)
throws SQLException
- Specified by:
setNonNullParameter
in class BaseTypeHandler<Timestamp>
- Throws:
SQLException
getNullableResult
public Timestamp getNullableResult(ResultSet rs,
String columnName)
throws SQLException
- Specified by:
getNullableResult
in class BaseTypeHandler<Timestamp>
- Throws:
SQLException
getNullableResult
public Timestamp getNullableResult(ResultSet rs,
int columnIndex)
throws SQLException
- Specified by:
getNullableResult
in class BaseTypeHandler<Timestamp>
- Throws:
SQLException
getNullableResult
public Timestamp getNullableResult(CallableStatement cs,
int columnIndex)
throws SQLException
- Specified by:
getNullableResult
in class BaseTypeHandler<Timestamp>
- Throws:
SQLException
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.