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