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