public class InstantTypeHandler extends BaseTypeHandler<Instant>
configuration| Constructor and Description |
|---|
InstantTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
Instant |
getNullableResult(CallableStatement cs,
int columnIndex) |
Instant |
getNullableResult(ResultSet rs,
int columnIndex) |
Instant |
getNullableResult(ResultSet rs,
String columnName)
Gets the nullable result.
|
void |
setNonNullParameter(PreparedStatement ps,
int i,
Instant parameter,
JdbcType jdbcType) |
getResult, getResult, getResult, setConfiguration, setParametergetRawType, toStringpublic void setNonNullParameter(PreparedStatement ps, int i, Instant parameter, JdbcType jdbcType) throws SQLException
setNonNullParameter in class BaseTypeHandler<Instant>SQLExceptionpublic Instant getNullableResult(ResultSet rs, String columnName) throws SQLException
BaseTypeHandlergetNullableResult in class BaseTypeHandler<Instant>rs - the rscolumnName - Colunm name, when configuration useColumnLabel is falseSQLException - the SQL exceptionpublic Instant getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult in class BaseTypeHandler<Instant>SQLExceptionpublic Instant getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult in class BaseTypeHandler<Instant>SQLExceptionCopyright © 2009–2021 MyBatis.org. All rights reserved.