public class CalendarMapperTypeHandler extends Object implements org.apache.ibatis.type.TypeHandler<Calendar>
NOTE: iBatis 의 TypeHandlerCallback 을 implements 하고 있으며 java.util.Calendar 타입을 java.sql.Timestamp 로 변환하여 DB 에 입력하고 조회할 수 있도록 처리하는 TypeHandler 이다.
== 개정이력(Modification Information) == 수정일 수정자 수정내용 ------- -------- --------------------------- 2009.02.19 우병훈 최초 생성
| Constructor and Description |
|---|
CalendarMapperTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getResult(CallableStatement cs,
int columnIndex) |
Calendar |
getResult(ResultSet rs,
int columnIndex) |
Calendar |
getResult(ResultSet rs,
String columnName) |
void |
setParameter(PreparedStatement ps,
int i,
Calendar parameter,
org.apache.ibatis.type.JdbcType jdbcType) |
public void setParameter(PreparedStatement ps, int i, Calendar parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
setParameter in interface org.apache.ibatis.type.TypeHandler<Calendar>SQLExceptionpublic Calendar getResult(ResultSet rs, String columnName) throws SQLException
getResult in interface org.apache.ibatis.type.TypeHandler<Calendar>SQLExceptionpublic Calendar getResult(ResultSet rs, int columnIndex) throws SQLException
getResult in interface org.apache.ibatis.type.TypeHandler<Calendar>SQLExceptionpublic Calendar getResult(CallableStatement cs, int columnIndex) throws SQLException
getResult in interface org.apache.ibatis.type.TypeHandler<Calendar>SQLExceptionCopyright © 2015. All rights reserved.