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