org.apache.ibatis.type
Class IntegerTypeHandler

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

public class IntegerTypeHandler
extends BaseTypeHandler


Constructor Summary
IntegerTypeHandler()
           
 
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

IntegerTypeHandler

public IntegerTypeHandler()
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.