org.apache.ibatis.type
Class BooleanTypeHandler

java.lang.Object
  extended by org.apache.ibatis.type.BaseTypeHandler<Boolean>
      extended by org.apache.ibatis.type.BooleanTypeHandler
All Implemented Interfaces:
TypeHandler<Boolean>

public class BooleanTypeHandler
extends BaseTypeHandler<Boolean>


Constructor Summary
BooleanTypeHandler()
           
 
Method Summary
 Boolean getNullableResult(CallableStatement cs, int columnIndex)
           
 Boolean getNullableResult(ResultSet rs, String columnName)
           
 void setNonNullParameter(PreparedStatement ps, int i, Boolean 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

BooleanTypeHandler

public BooleanTypeHandler()
Method Detail

setNonNullParameter

public void setNonNullParameter(PreparedStatement ps,
                                int i,
                                Boolean parameter,
                                JdbcType jdbcType)
                         throws SQLException
Specified by:
setNonNullParameter in class BaseTypeHandler<Boolean>
Throws:
SQLException

getNullableResult

public Boolean getNullableResult(ResultSet rs,
                                 String columnName)
                          throws SQLException
Specified by:
getNullableResult in class BaseTypeHandler<Boolean>
Throws:
SQLException

getNullableResult

public Boolean getNullableResult(CallableStatement cs,
                                 int columnIndex)
                          throws SQLException
Specified by:
getNullableResult in class BaseTypeHandler<Boolean>
Throws:
SQLException


Copyright © 2010-2011 MyBatis.org. All Rights Reserved.