public class CompositeEnumTypeHandler<E extends Enum<E>> extends Object implements org.apache.ibatis.type.TypeHandler<E>
| 构造器和说明 |
|---|
CompositeEnumTypeHandler(Class<E> enumClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
E |
getResult(CallableStatement cs,
int columnIndex) |
E |
getResult(ResultSet rs,
int columnIndex) |
E |
getResult(ResultSet rs,
String columnName) |
void |
setParameter(PreparedStatement ps,
int i,
E parameter,
org.apache.ibatis.type.JdbcType jdbcType) |
public CompositeEnumTypeHandler(Class<E> enumClass)
public void setParameter(PreparedStatement ps, int i, E parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
setParameter 在接口中 org.apache.ibatis.type.TypeHandler<E extends Enum<E>>SQLExceptionpublic E getResult(ResultSet rs, String columnName) throws SQLException
getResult 在接口中 org.apache.ibatis.type.TypeHandler<E extends Enum<E>>SQLExceptionpublic E getResult(ResultSet rs, int columnIndex) throws SQLException
getResult 在接口中 org.apache.ibatis.type.TypeHandler<E extends Enum<E>>SQLExceptionpublic E getResult(CallableStatement cs, int columnIndex) throws SQLException
getResult 在接口中 org.apache.ibatis.type.TypeHandler<E extends Enum<E>>SQLExceptionCopyright © 2025. All rights reserved.