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