Package org.apache.ibatis.type
Class ConflictedTypeHandler
java.lang.Object
org.apache.ibatis.type.ConflictedTypeHandler
- All Implemented Interfaces:
TypeHandler<Object>
-
Constructor Summary
ConstructorsConstructorDescriptionConflictedTypeHandler(Class<?> javaType, JdbcType jdbcType, TypeHandler<?> existing, TypeHandler<?> added) -
Method Summary
Modifier and TypeMethodDescriptiongetResult(CallableStatement cs, int columnIndex) Gets the result.voidsetParameter(PreparedStatement ps, int i, Object parameter, JdbcType jdbcType)
-
Constructor Details
-
ConflictedTypeHandler
public ConflictedTypeHandler(Class<?> javaType, JdbcType jdbcType, TypeHandler<?> existing, TypeHandler<?> added)
-
-
Method Details
-
setParameter
public void setParameter(PreparedStatement ps, int i, Object parameter, JdbcType jdbcType) throws SQLException - Specified by:
setParameterin interfaceTypeHandler<Object>- Throws:
SQLException
-
getResult
Description copied from interface:TypeHandlerGets the result.- Specified by:
getResultin interfaceTypeHandler<Object>- Parameters:
rs- the rscolumnName- Column name, when configurationuseColumnLabelisfalse- Returns:
- the result
- Throws:
SQLException- the SQL exception
-
getResult
- Specified by:
getResultin interfaceTypeHandler<Object>- Throws:
SQLException
-
getResult
- Specified by:
getResultin interfaceTypeHandler<Object>- Throws:
SQLException
-