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, setParametergetRawType, toStringpublic void setNonNullParameter(PreparedStatement ps, int i, LocalDateTime parameter, JdbcType jdbcType) throws SQLException
setNonNullParameter in class BaseTypeHandler<LocalDateTime>SQLExceptionpublic LocalDateTime getNullableResult(ResultSet rs, String columnName) throws SQLException
BaseTypeHandlergetNullableResult in class BaseTypeHandler<LocalDateTime>rs - the rscolumnName - Colunm name, when configuration useColumnLabel is falseSQLException - the SQL exceptionpublic LocalDateTime getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult in class BaseTypeHandler<LocalDateTime>SQLExceptionpublic LocalDateTime getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult in class BaseTypeHandler<LocalDateTime>SQLExceptionCopyright © 2009–2021 MyBatis.org. All rights reserved.