public class MonthTypeHandler extends BaseTypeHandler<Month>
configuration
Constructor and Description |
---|
MonthTypeHandler() |
Modifier and Type | Method and Description |
---|---|
Month |
getNullableResult(CallableStatement cs,
int columnIndex) |
Month |
getNullableResult(ResultSet rs,
int columnIndex) |
Month |
getNullableResult(ResultSet rs,
String columnName)
Gets the nullable result.
|
void |
setNonNullParameter(PreparedStatement ps,
int i,
Month month,
JdbcType type) |
getResult, getResult, getResult, setConfiguration, setParameter
getRawType, toString
public void setNonNullParameter(PreparedStatement ps, int i, Month month, JdbcType type) throws SQLException
setNonNullParameter
in class BaseTypeHandler<Month>
SQLException
public Month getNullableResult(ResultSet rs, String columnName) throws SQLException
BaseTypeHandler
getNullableResult
in class BaseTypeHandler<Month>
rs
- the rscolumnName
- Colunm name, when configuration useColumnLabel
is false
SQLException
- the SQL exceptionpublic Month getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult
in class BaseTypeHandler<Month>
SQLException
public Month getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult
in class BaseTypeHandler<Month>
SQLException
Copyright © 2009–2021 MyBatis.org. All rights reserved.