Package mbg.test.mb3.common
Class StringBooleanTypeHandler
java.lang.Object
mbg.test.mb3.common.StringBooleanTypeHandler
- All Implemented Interfaces:
org.apache.ibatis.type.TypeHandler<Boolean>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResult(CallableStatement cs, int columnIndex) voidsetParameter(PreparedStatement ps, int columnIndex, Boolean parameter, org.apache.ibatis.type.JdbcType jdbcType)
-
Constructor Details
-
StringBooleanTypeHandler
public StringBooleanTypeHandler()
-
-
Method Details
-
getResult
- Specified by:
getResultin interfaceorg.apache.ibatis.type.TypeHandler<Boolean>- Throws:
SQLException
-
getResult
- Specified by:
getResultin interfaceorg.apache.ibatis.type.TypeHandler<Boolean>- Throws:
SQLException
-
setParameter
public void setParameter(PreparedStatement ps, int columnIndex, Boolean parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException - Specified by:
setParameterin interfaceorg.apache.ibatis.type.TypeHandler<Boolean>- Throws:
SQLException
-
getResult
- Specified by:
getResultin interfaceorg.apache.ibatis.type.TypeHandler<Boolean>- Throws:
SQLException
-