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