Package org.hibernate.type
Class ConvertedBasicCollectionType<C extends Collection<E>,E>
java.lang.Object
org.hibernate.type.AbstractStandardBasicType<C>
org.hibernate.type.AbstractSingleColumnStandardBasicType<C>
org.hibernate.type.BasicCollectionType<C,E>
org.hibernate.type.ConvertedBasicCollectionType<C,E>
- All Implemented Interfaces:
BasicType<C>,Type<C>,Serializable,BasicValuedMapping,Bindable,JdbcMapping,JdbcMappingContainer,MappingModelExpressible,MappingType,SqlExpressible,ValueMapping,BasicDomainType<C>,DomainType<C>,ReturnableType<C>,SimpleDomainType<C>,SqmBindableType<C>,SqmExpressible<C>,SqmDomainType<C>,AdjustableBasicType<C>,BasicPluralType<C,,E> BasicType<C>,BindableType<C>,JavaTypedExpressible,OutputableType<C>,ProcedureParameterExtractionAware<C>,ProcedureParameterNamedBinder<C>,Type
public class ConvertedBasicCollectionType<C extends Collection<E>,E>
extends BasicCollectionType<C,E>
A converted basic array type.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType -
Constructor Summary
ConstructorsConstructorDescriptionConvertedBasicCollectionType(BasicType<E> baseDescriptor, JdbcType arrayJdbcType, BasicCollectionJavaType<C, E> arrayTypeDescriptor, BasicValueConverter<C, ?> converter) -
Method Summary
Modifier and TypeMethodDescriptionbooleanJavaType<?> The strategy for formatting values of this expressible type to a SQL literal.The strategy for binding values of this expressible type to JDBCPreparedStatements andCallableStatements.The strategy for extracting values of this expressible type from JDBC ResultSets, CallableStatements, etcReturns the converter that this basic type uses for transforming from the domain type, to the relational type, ornullif there is no conversion.inthashCode()Methods inherited from class org.hibernate.type.BasicCollectionType
getElementType, getName, registerUnderJavaType, resolveIndicatedTypeMethods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType
nullSafeSetMethods inherited from class org.hibernate.type.AbstractStandardBasicType
assemble, beforeAssemble, canDoExtraction, canDoSetting, compare, deepCopy, deepCopy, disassemble, extract, extract, fromString, getCastType, getColumnSpan, getHashCode, getHashCode, getJavaType, getJavaTypeDescriptor, getJdbcType, getMutabilityPlan, getRegistrationKeys, getReturnedClass, getSqlTypeCodes, getTypeForEqualsHashCode, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeSet, replace, replace, toColumnNullness, toLoggableStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.model.domain.BasicDomainType
getPersistenceTypeMethods inherited from interface org.hibernate.type.BasicType
compare, disassemble, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcType, getCheckCondition, getExpressibleJavaType, getJavaType, getJavaTypeDescriptor, getJdbcMapping, getJdbcMapping, getJdbcTypeCount, getMappedJavaType, getMappedType, getRegistrationKeys, getSingleJdbcMapping, getSqmTypeMethods inherited from interface org.hibernate.metamodel.mapping.BasicValuedMapping
addToCacheKeyMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMapping
convertToDomainValue, convertToRelationalValue, getCastType, getJdbcTypeMethods inherited from interface org.hibernate.type.OutputableType
canDoExtraction, extract, extract, getJdbcTypeMethods inherited from interface org.hibernate.query.sqm.SqmBindableType
resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmDomainType
getTupleLength, getTypeNameMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaTypeMethods inherited from interface org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, disassemble, disassemble, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getReturnedClassName, getSqlTypeCodes, getTypeForEqualsHashCode, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeSet, nullSafeSet, replace, replace, toColumnNullness, toLoggableStringMethods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
treatAs
-
Constructor Details
-
ConvertedBasicCollectionType
public ConvertedBasicCollectionType(BasicType<E> baseDescriptor, JdbcType arrayJdbcType, BasicCollectionJavaType<C, E> arrayTypeDescriptor, BasicValueConverter<C, ?> converter)
-
-
Method Details
-
getValueConverter
Description copied from interface:JdbcMappingReturns the converter that this basic type uses for transforming from the domain type, to the relational type, ornullif there is no conversion. -
getJdbcJavaType
-
getJdbcValueExtractor
Description copied from interface:JdbcMappingThe strategy for extracting values of this expressible type from JDBC ResultSets, CallableStatements, etc- Specified by:
getJdbcValueExtractorin interfaceBasicType<C extends Collection<E>>- Specified by:
getJdbcValueExtractorin interfaceJdbcMapping- Overrides:
getJdbcValueExtractorin classAbstractStandardBasicType<C extends Collection<E>>
-
getJdbcValueBinder
Description copied from interface:JdbcMappingThe strategy for binding values of this expressible type to JDBCPreparedStatements andCallableStatements.- Specified by:
getJdbcValueBinderin interfaceBasicType<C extends Collection<E>>- Specified by:
getJdbcValueBinderin interfaceJdbcMapping- Overrides:
getJdbcValueBinderin classAbstractStandardBasicType<C extends Collection<E>>
-
getJdbcLiteralFormatter
Description copied from interface:JdbcMappingThe strategy for formatting values of this expressible type to a SQL literal.- Specified by:
getJdbcLiteralFormatterin interfaceBasicType<C extends Collection<E>>- Specified by:
getJdbcLiteralFormatterin interfaceJdbcMapping- Overrides:
getJdbcLiteralFormatterin classAbstractStandardBasicType<C extends Collection<E>>
-
equals
- Overrides:
equalsin classBasicCollectionType<C extends Collection<E>,E>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBasicCollectionType<C extends Collection<E>,E>
-