Class InferredBasicValueResolver
- java.lang.Object
-
- org.hibernate.boot.model.process.internal.InferredBasicValueResolver
-
public class InferredBasicValueResolver extends Object
BasicValue.Resolution resolver for cases where no explicit type info was supplied.
-
-
Constructor Summary
Constructors Constructor Description InferredBasicValueResolver()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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)
static <E extends Enum<E>,R>
EnumeratedValueResolution<E,R>fromEnum(EnumJavaType<E> enumJavaType, BasicJavaType<R> explicitJavaType, JdbcType explicitJdbcType, JdbcTypeIndicators stdIndicators, MetadataBuildingContext context)
static <T> InferredBasicValueResolution<T,T>
fromTemporal(TemporalJavaType<T> reflectedJtd, BasicJavaType<?> explicitJavaType, JdbcType explicitJdbcType, Type resolvedJavaType, Function<TypeConfiguration,MutabilityPlan> explicitMutabilityPlanAccess, JdbcTypeIndicators stdIndicators, TypeConfiguration typeConfiguration)
static <T> BasicType<T>
resolveSqlTypeIndicators(JdbcTypeIndicators stdIndicators, BasicType<T> resolved, JavaType<T> domainJtd)
-
-
-
Method Detail
-
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>,R> EnumeratedValueResolution<E,R> fromEnum(EnumJavaType<E> enumJavaType, BasicJavaType<R> explicitJavaType, JdbcType explicitJdbcType, JdbcTypeIndicators stdIndicators, MetadataBuildingContext context)
-
fromTemporal
public static <T> InferredBasicValueResolution<T,T> fromTemporal(TemporalJavaType<T> reflectedJtd, BasicJavaType<?> explicitJavaType, JdbcType explicitJdbcType, Type resolvedJavaType, Function<TypeConfiguration,MutabilityPlan> explicitMutabilityPlanAccess, JdbcTypeIndicators stdIndicators, TypeConfiguration typeConfiguration)
-
-