类 CompositeEnumTypeHandler<E extends Enum<E>>
java.lang.Object
com.baomidou.mybatisplus.core.handlers.CompositeEnumTypeHandler<E>
- 所有已实现的接口:
org.apache.ibatis.type.TypeHandler<E>
public class CompositeEnumTypeHandler<E extends Enum<E>>
extends Object
implements org.apache.ibatis.type.TypeHandler<E>
- 从以下版本开始:
- 2022-03-07
- 作者:
- miemie
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<T> org.apache.ibatis.type.TypeHandler<T> getInstance(Class<?> javaTypeClass, Class<?> typeHandlerClass) getResult(CallableStatement cs, int columnIndex) static voidsetDefaultEnumTypeHandler(Class<? extends org.apache.ibatis.type.TypeHandler> defaultEnumTypeHandler) voidsetParameter(PreparedStatement ps, int i, E parameter, org.apache.ibatis.type.JdbcType jdbcType)
-
构造器详细资料
-
CompositeEnumTypeHandler
-
-
方法详细资料
-
setDefaultEnumTypeHandler
public static void setDefaultEnumTypeHandler(Class<? extends org.apache.ibatis.type.TypeHandler> defaultEnumTypeHandler) -
setParameter
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>>- 抛出:
SQLException
-
getResult
- 指定者:
getResult在接口中org.apache.ibatis.type.TypeHandler<E extends Enum<E>>- 抛出:
SQLException
-
getResult
- 指定者:
getResult在接口中org.apache.ibatis.type.TypeHandler<E extends Enum<E>>- 抛出:
SQLException
-
getResult
- 指定者:
getResult在接口中org.apache.ibatis.type.TypeHandler<E extends Enum<E>>- 抛出:
SQLException
-
getInstance
-