public class FlexEnumTypeHandler<E extends Enum<E>>
extends org.apache.ibatis.type.BaseTypeHandler<E>
Constructor and Description |
---|
FlexEnumTypeHandler(Class<E> enumClass) |
Modifier and Type | Method and Description |
---|---|
E |
getNullableResult(CallableStatement cs,
int columnIndex) |
E |
getNullableResult(ResultSet rs,
int columnIndex) |
E |
getNullableResult(ResultSet rs,
String columnName) |
void |
setNonNullParameter(PreparedStatement ps,
int i,
E parameter,
org.apache.ibatis.type.JdbcType jdbcType) |
public void setNonNullParameter(PreparedStatement ps, int i, E parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
setNonNullParameter
in class org.apache.ibatis.type.BaseTypeHandler<E extends Enum<E>>
SQLException
public E getNullableResult(ResultSet rs, String columnName) throws SQLException
getNullableResult
in class org.apache.ibatis.type.BaseTypeHandler<E extends Enum<E>>
SQLException
public E getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult
in class org.apache.ibatis.type.BaseTypeHandler<E extends Enum<E>>
SQLException
public E getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult
in class org.apache.ibatis.type.BaseTypeHandler<E extends Enum<E>>
SQLException
Copyright © 2024. All rights reserved.