org.apache.ibatis.type
Class DateTypeHandler

java.lang.Object
  extended by org.apache.ibatis.type.BaseTypeHandler
      extended by org.apache.ibatis.type.DateTypeHandler
All Implemented Interfaces:
TypeHandler

public class DateTypeHandler
extends BaseTypeHandler


Constructor Summary
DateTypeHandler()
           
 
Method Summary
 java.lang.Object getNullableResult(java.sql.CallableStatement cs, int columnIndex)
           
 java.lang.Object getNullableResult(java.sql.ResultSet rs, java.lang.String columnName)
           
 void setNonNullParameter(java.sql.PreparedStatement ps, int i, java.lang.Object parameter, JdbcType jdbcType)
           
 
Methods inherited from class org.apache.ibatis.type.BaseTypeHandler
getResult, getResult, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTypeHandler

public DateTypeHandler()
Method Detail

setNonNullParameter

public void setNonNullParameter(java.sql.PreparedStatement ps,
                                int i,
                                java.lang.Object parameter,
                                JdbcType jdbcType)
                         throws java.sql.SQLException
Specified by:
setNonNullParameter in class BaseTypeHandler
Throws:
java.sql.SQLException

getNullableResult

public java.lang.Object getNullableResult(java.sql.ResultSet rs,
                                          java.lang.String columnName)
                                   throws java.sql.SQLException
Specified by:
getNullableResult in class BaseTypeHandler
Throws:
java.sql.SQLException

getNullableResult

public java.lang.Object getNullableResult(java.sql.CallableStatement cs,
                                          int columnIndex)
                                   throws java.sql.SQLException
Specified by:
getNullableResult in class BaseTypeHandler
Throws:
java.sql.SQLException


Copyright © 2010 MyBatis.org. All Rights Reserved.