Class TypedUUIDHandler
- All Implemented Interfaces:
org.apache.ibatis.type.TypeHandler<UUID>
@MappedTypes(java.util.UUID.class)
public class TypedUUIDHandler
extends org.apache.ibatis.type.BaseTypeHandler<UUID>
- Author:
- lang : 2025-08-28
-
Field Summary
Fields inherited from class org.apache.ibatis.type.BaseTypeHandler
configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNullableResult(CallableStatement callableStatement, int i) getNullableResult(ResultSet resultSet, int i) getNullableResult(ResultSet resultSet, String columnName) voidsetNonNullParameter(PreparedStatement ps, int i, UUID parameter, org.apache.ibatis.type.JdbcType jdbcType) voidsetParameter(PreparedStatement ps, int i, UUID parameter, org.apache.ibatis.type.JdbcType jdbcType) Methods inherited from class org.apache.ibatis.type.BaseTypeHandler
getResult, getResult, getResult, setConfigurationMethods inherited from class org.apache.ibatis.type.TypeReference
getRawType, toString
-
Constructor Details
-
TypedUUIDHandler
public TypedUUIDHandler()
-
-
Method Details
-
setParameter
public void setParameter(PreparedStatement ps, int i, UUID parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException - Specified by:
setParameterin interfaceorg.apache.ibatis.type.TypeHandler<UUID>- Overrides:
setParameterin classorg.apache.ibatis.type.BaseTypeHandler<UUID>- Throws:
SQLException
-
setNonNullParameter
public void setNonNullParameter(PreparedStatement ps, int i, UUID parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException - Specified by:
setNonNullParameterin classorg.apache.ibatis.type.BaseTypeHandler<UUID>- Throws:
SQLException
-
getNullableResult
- Specified by:
getNullableResultin classorg.apache.ibatis.type.BaseTypeHandler<UUID>- Throws:
SQLException
-
getNullableResult
- Specified by:
getNullableResultin classorg.apache.ibatis.type.BaseTypeHandler<UUID>- Throws:
SQLException
-
getNullableResult
- Specified by:
getNullableResultin classorg.apache.ibatis.type.BaseTypeHandler<UUID>- Throws:
SQLException
-