public class BooleanTypeHandler extends BaseTypeHandler<Boolean>
configuration| Constructor and Description |
|---|
BooleanTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getNullableResult(CallableStatement cs,
int columnIndex) |
Boolean |
getNullableResult(ResultSet rs,
int columnIndex) |
Boolean |
getNullableResult(ResultSet rs,
String columnName)
Gets the nullable result.
|
void |
setNonNullParameter(PreparedStatement ps,
int i,
Boolean parameter,
JdbcType jdbcType) |
getResult, getResult, getResult, setConfiguration, setParametergetRawType, toStringpublic void setNonNullParameter(PreparedStatement ps, int i, Boolean parameter, JdbcType jdbcType) throws SQLException
setNonNullParameter in class BaseTypeHandler<Boolean>SQLExceptionpublic Boolean getNullableResult(ResultSet rs, String columnName) throws SQLException
BaseTypeHandlergetNullableResult in class BaseTypeHandler<Boolean>rs - the rscolumnName - Colunm name, when configuration useColumnLabel is falseSQLException - the SQL exceptionpublic Boolean getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult in class BaseTypeHandler<Boolean>SQLExceptionpublic Boolean getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult in class BaseTypeHandler<Boolean>SQLExceptionCopyright © 2009–2021 MyBatis.org. All rights reserved.