| 构造器和说明 |
|---|
EnumTypeHandler(Class<E> type) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Optional<Field> |
dealEnumType(Class<?> clazz) |
E |
getNullableResult(CallableStatement cs,
int columnIndex) |
E |
getNullableResult(ResultSet rs,
int columnIndex) |
E |
getNullableResult(ResultSet rs,
String columnName) |
void |
setNonNullParameter(PreparedStatement ps,
int i,
Enum parameter,
org.apache.ibatis.type.JdbcType jdbcType) |
public void setNonNullParameter(PreparedStatement ps, int i, Enum parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
setNonNullParameter 在类中 org.apache.ibatis.type.BaseTypeHandler<Enum>SQLExceptionpublic E getNullableResult(ResultSet rs, String columnName) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<Enum>SQLExceptionpublic E getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<Enum>SQLExceptionpublic E getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult 在类中 org.apache.ibatis.type.BaseTypeHandler<Enum>SQLException