public class MonthDayOfStringTypeHandler extends AbstractTypeHandler<MonthDay>
MonthDay.
MonthDayOfStringTypeHandler Therefore column values are expected as strings. The format must be MM-dd. Example: "12-03"
| 构造器和说明 |
|---|
MonthDayOfStringTypeHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
MonthDay |
getNullableResult(CallableStatement cs,
int columnIndex) |
MonthDay |
getNullableResult(ResultSet rs,
int columnIndex) |
MonthDay |
getNullableResult(ResultSet rs,
String columnName) |
void |
setNonNullParameter(PreparedStatement ps,
int i,
MonthDay monthDay,
JDBCType jdbcType) |
getResult, getResult, getResult, setParametergetRawType, toStringpublic void setNonNullParameter(PreparedStatement ps, int i, MonthDay monthDay, JDBCType jdbcType) throws SQLException
setNonNullParameter 在类中 AbstractTypeHandler<MonthDay>SQLExceptionpublic MonthDay getNullableResult(ResultSet rs, String columnName) throws SQLException
getNullableResult 在类中 AbstractTypeHandler<MonthDay>columnName - Colunm name, when configuration useColumnLabel is falseSQLExceptionpublic MonthDay getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult 在类中 AbstractTypeHandler<MonthDay>SQLExceptionpublic MonthDay getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult 在类中 AbstractTypeHandler<MonthDay>SQLExceptionCopyright © 2020–2021. All rights reserved.