public class DateOnlyTypeHandler extends AbstractTypeHandler<Date>
| 构造器和说明 |
|---|
DateOnlyTypeHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
Date |
getNullableResult(CallableStatement cs,
int columnIndex) |
Date |
getNullableResult(ResultSet rs,
int columnIndex) |
Date |
getNullableResult(ResultSet rs,
String columnName) |
void |
setNonNullParameter(PreparedStatement ps,
int i,
Date parameter,
JDBCType jdbcType) |
getResult, getResult, getResult, setParametergetRawType, toStringpublic void setNonNullParameter(PreparedStatement ps, int i, Date parameter, JDBCType jdbcType) throws SQLException
setNonNullParameter 在类中 AbstractTypeHandler<Date>SQLExceptionpublic Date getNullableResult(ResultSet rs, String columnName) throws SQLException
getNullableResult 在类中 AbstractTypeHandler<Date>columnName - Colunm name, when configuration useColumnLabel is falseSQLExceptionpublic Date getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult 在类中 AbstractTypeHandler<Date>SQLExceptionpublic Date getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult 在类中 AbstractTypeHandler<Date>SQLExceptionCopyright © 2020–2021. All rights reserved.