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