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