Package org.apache.ibatis.type
Class UnknownTypeHandler
- All Implemented Interfaces:
TypeHandler<Object>
@Deprecated(since="3.6.0",
forRemoval=true)
public class UnknownTypeHandler
extends BaseTypeHandler<Object>
Deprecated, for removal: This API element is subject to removal in a future version.
- Author:
- Clinton Begin
-
Field Summary
Fields inherited from class org.apache.ibatis.type.BaseTypeHandler
configuration -
Constructor Summary
ConstructorsConstructorDescriptionUnknownTypeHandler(Configuration configuration) Deprecated, for removal: This API element is subject to removal in a future version.The constructor that pass a MyBatis configuration.UnknownTypeHandler(TypeHandlerRegistry typeHandlerRegistry) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetNullableResult(CallableStatement cs, int columnIndex) Deprecated, for removal: This API element is subject to removal in a future version.getNullableResult(ResultSet rs, int columnIndex) Deprecated, for removal: This API element is subject to removal in a future version.getNullableResult(ResultSet rs, String columnName) Deprecated, for removal: This API element is subject to removal in a future version.Gets the nullable result.voidsetNonNullParameter(PreparedStatement ps, int i, Object parameter, JdbcType jdbcType) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.apache.ibatis.type.BaseTypeHandler
getResult, getResult, getResult, setConfiguration, setParameter
-
Constructor Details
-
UnknownTypeHandler
Deprecated, for removal: This API element is subject to removal in a future version.The constructor that pass a MyBatis configuration.- Parameters:
configuration- a MyBatis configuration- Since:
- 3.5.4
-
UnknownTypeHandler
Deprecated.Since 3.5.4, please use theUnknownTypeHandler(Configuration).The constructor that pass the type handler registry.- Parameters:
typeHandlerRegistry- a type handler registry
-
-
Method Details
-
setNonNullParameter
public void setNonNullParameter(PreparedStatement ps, int i, Object parameter, JdbcType jdbcType) throws SQLException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setNonNullParameterin classBaseTypeHandler<Object>- Throws:
SQLException
-
getNullableResult
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:BaseTypeHandlerGets the nullable result.- Specified by:
getNullableResultin classBaseTypeHandler<Object>- Parameters:
rs- the rscolumnName- Column name, when configurationuseColumnLabelisfalse- Returns:
- the nullable result
- Throws:
SQLException- the SQL exception
-
getNullableResult
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNullableResultin classBaseTypeHandler<Object>- Throws:
SQLException
-
getNullableResult
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNullableResultin classBaseTypeHandler<Object>- Throws:
SQLException
-
UnknownTypeHandler(Configuration).