Class InferredBasicValueResolver
java.lang.Object
org.hibernate.boot.model.process.internal.InferredBasicValueResolver
BasicValue.Resolution resolver for cases where no explicit
type info was supplied.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> BasicValue.Resolution<T>
from
(BasicJavaType<T> explicitJavaType, JdbcType explicitJdbcType, Type resolvedJavaType, Supplier<JavaType<T>> reflectedJtdResolver, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, JdbcTypeIndicators stdIndicators, Table table, Selectable selectable, String ownerName, String propertyName, MetadataBuildingContext buildingContext) static <E extends Enum<E>>
BasicValue.Resolution<E>fromEnum
(EnumJavaType<E> enumJavaType, JdbcType explicitJdbcType, JdbcTypeIndicators stdIndicators, BootstrapContext bootstrapContext) static <T> BasicValue.Resolution<T>
fromTemporal
(TemporalJavaType<T> reflectedJtd, BasicJavaType<?> explicitJavaType, JdbcType explicitJdbcType, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, JdbcTypeIndicators stdIndicators) static <T> BasicType<T>
resolveSqlTypeIndicators
(JdbcTypeIndicators stdIndicators, BasicType<T> resolved, JavaType<T> domainJtd)
-
Constructor Details
-
InferredBasicValueResolver
public InferredBasicValueResolver()
-
-
Method Details
-
from
public static <T> BasicValue.Resolution<T> from(BasicJavaType<T> explicitJavaType, JdbcType explicitJdbcType, Type resolvedJavaType, Supplier<JavaType<T>> reflectedJtdResolver, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, JdbcTypeIndicators stdIndicators, Table table, Selectable selectable, String ownerName, String propertyName, MetadataBuildingContext buildingContext) -
resolveSqlTypeIndicators
public static <T> BasicType<T> resolveSqlTypeIndicators(JdbcTypeIndicators stdIndicators, BasicType<T> resolved, JavaType<T> domainJtd) -
fromEnum
public static <E extends Enum<E>> BasicValue.Resolution<E> fromEnum(EnumJavaType<E> enumJavaType, JdbcType explicitJdbcType, JdbcTypeIndicators stdIndicators, BootstrapContext bootstrapContext) -
fromTemporal
public static <T> BasicValue.Resolution<T> fromTemporal(TemporalJavaType<T> reflectedJtd, BasicJavaType<?> explicitJavaType, JdbcType explicitJdbcType, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, JdbcTypeIndicators stdIndicators)
-