public class YearMonthTypeHandler extends BaseTypeHandler<java.time.YearMonth>
YearMonth
YearMonthTypeHandler relies upon
YearMonth.parse. Therefore column values
are expected as strings. The format must be uuuu-MM. Example: "2016-08"| 构造器和说明 |
|---|
YearMonthTypeHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.time.YearMonth |
getNullableResult(CallableStatement cs,
int columnIndex) |
java.time.YearMonth |
getNullableResult(ResultSet rs,
int columnIndex) |
java.time.YearMonth |
getNullableResult(ResultSet rs,
String columnName) |
void |
setNonNullParameter(PreparedStatement ps,
int i,
java.time.YearMonth yearMonth,
JdbcType jt) |
getResult, getResult, getResult, setParametergetRawType, toStringpublic void setNonNullParameter(PreparedStatement ps, int i, java.time.YearMonth yearMonth, JdbcType jt) throws SQLException
setNonNullParameter 在类中 BaseTypeHandler<java.time.YearMonth>SQLExceptionpublic java.time.YearMonth getNullableResult(ResultSet rs, String columnName) throws SQLException
getNullableResult 在类中 BaseTypeHandler<java.time.YearMonth>SQLExceptionpublic java.time.YearMonth getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult 在类中 BaseTypeHandler<java.time.YearMonth>SQLExceptionpublic java.time.YearMonth getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult 在类中 BaseTypeHandler<java.time.YearMonth>SQLExceptionCopyright © 2019. All rights reserved.