Class NamedConverterResolution<J>
java.lang.Object
org.hibernate.boot.model.process.internal.NamedConverterResolution<J>
- All Implemented Interfaces:
BasicValue.Resolution<J>
-
Constructor Summary
ConstructorDescriptionNamedConverterResolution
(JavaType<J> domainJtd, JavaType<?> relationalJtd, JdbcType jdbcType, JpaAttributeConverter<J, ?> valueConverter, MutabilityPlan<J> mutabilityPlan, Class<J> primitiveClass, TypeConfiguration typeConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> NamedConverterResolution<T>
from
(String name, Function<TypeConfiguration, BasicJavaType> explicitJtdAccess, Function<TypeConfiguration, JdbcType> explicitStdAccess, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, JdbcTypeIndicators sqlTypeIndicators, JpaAttributeConverterCreationContext converterCreationContext, MetadataBuildingContext context) static <T> NamedConverterResolution<T>
from
(ConverterDescriptor converterDescriptor, Function<TypeConfiguration, BasicJavaType> explicitJtdAccess, Function<TypeConfiguration, JdbcType> explicitStdAccess, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, Type resolvedJavaType, JdbcTypeIndicators sqlTypeIndicators, JpaAttributeConverterCreationContext converterCreationContext, MetadataBuildingContext context) The JavaType for the value as part of the domain modelThe JavaType for the relational value as part of the relational model (its JDBC representation)The BasicType resolved using the pre-6.0 rules.The resolved MutabilityPlanJavaType<?>
The JavaType for the relational value as part of the relational model (its JDBC representation)Converter, if any, to convert values between the domain and relational JavaType representationstoString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.mapping.BasicValue.Resolution
getCombinedTypeParameters, updateResolution
-
Constructor Details
-
NamedConverterResolution
public NamedConverterResolution(JavaType<J> domainJtd, JavaType<?> relationalJtd, JdbcType jdbcType, JpaAttributeConverter<J, ?> valueConverter, MutabilityPlan<J> mutabilityPlan, Class<J> primitiveClass, TypeConfiguration typeConfiguration)
-
-
Method Details
-
from
public static <T> NamedConverterResolution<T> from(ConverterDescriptor converterDescriptor, Function<TypeConfiguration, BasicJavaType> explicitJtdAccess, Function<TypeConfiguration, JdbcType> explicitStdAccess, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, Type resolvedJavaType, JdbcTypeIndicators sqlTypeIndicators, JpaAttributeConverterCreationContext converterCreationContext, MetadataBuildingContext context) -
from
public static <T> NamedConverterResolution<T> from(String name, Function<TypeConfiguration, BasicJavaType> explicitJtdAccess, Function<TypeConfiguration, JdbcType> explicitStdAccess, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, JdbcTypeIndicators sqlTypeIndicators, JpaAttributeConverterCreationContext converterCreationContext, MetadataBuildingContext context) -
getLegacyResolvedBasicType
Description copied from interface:BasicValue.Resolution
The BasicType resolved using the pre-6.0 rules. This is temporarily needed because of the split in extracting / binding- Specified by:
getLegacyResolvedBasicType
in interfaceBasicValue.Resolution<J>
-
getDomainJavaType
Description copied from interface:BasicValue.Resolution
The JavaType for the value as part of the domain model- Specified by:
getDomainJavaType
in interfaceBasicValue.Resolution<J>
-
getRelationalJavaType
Description copied from interface:BasicValue.Resolution
The JavaType for the relational value as part of the relational model (its JDBC representation)- Specified by:
getRelationalJavaType
in interfaceBasicValue.Resolution<J>
-
getJdbcType
Description copied from interface:BasicValue.Resolution
The JavaType for the relational value as part of the relational model (its JDBC representation)- Specified by:
getJdbcType
in interfaceBasicValue.Resolution<J>
-
getJdbcMapping
- Specified by:
getJdbcMapping
in interfaceBasicValue.Resolution<J>
-
getValueConverter
Description copied from interface:BasicValue.Resolution
Converter, if any, to convert values between the domain and relational JavaType representations- Specified by:
getValueConverter
in interfaceBasicValue.Resolution<J>
-
getMutabilityPlan
Description copied from interface:BasicValue.Resolution
The resolved MutabilityPlan- Specified by:
getMutabilityPlan
in interfaceBasicValue.Resolution<J>
-
toString
-