Package org.hibernate.query
Interface BindableType<J>
-
- All Known Subinterfaces:
AdjustableBasicType<J>
,AnyMappingDomainType<J>
,BagPersistentAttribute<D,E>
,BasicDomainType<J>
,BasicPluralType<C,E>
,BasicType<T>
,CompositeSqmPathSource<J>
,ConvertedBasicType<J>
,DomainType<J>
,EmbeddableDomainType<J>
,EmbeddedDomainType<J>
,EntityDomainType<J>
,IdentifiableDomainType<J>
,ListPersistentAttribute<D,E>
,ManagedDomainType<J>
,MappedSuperclassDomainType<J>
,MapPersistentAttribute<D,K,V>
,OutputableType<J>
,PluralPersistentAttribute<D,C,E>
,ProcedureParameterExtractionAware<T>
,ReturnableType<T>
,SetPersistentAttribute<D,E>
,SimpleDomainType<J>
,SingularPersistentAttribute<D,J>
,SqmDynamicInstantiationTarget<T>
,SqmExpressible<J>
,SqmPathSource<J>
,TupleType<J>
- All Known Implementing Classes:
AbstractDomainType
,AbstractIdentifiableType
,AbstractManagedType
,AbstractPluralAttribute
,AbstractSingleColumnStandardBasicType
,AbstractSqmPathSource
,AbstractStandardBasicType
,AnonymousTupleSimpleSqmPathSource
,AnonymousTupleSqmAssociationPathSource
,AnonymousTupleSqmPathSource
,AnonymousTupleType
,AnyDiscriminatorSqmPathSource
,AnyMappingDomainTypeImpl
,AnyMappingSqmPathSource
,ArrayTupleType
,BasicArrayType
,BasicCollectionType
,BasicSqmPathSource
,BasicTypeImpl
,BasicTypeImpl
,BasicTypeReference
,ComponentType
,ConvertedBasicTypeImpl
,CustomMutabilityConvertedBasicTypeImpl
,CustomType
,DbTimestampType
,DiscriminatorSqmPathSource
,DiscriminatorType
,EmbeddableTypeImpl
,EmbeddedComponentType
,EmbeddedSqmPathSource
,EntitySqmPathSource
,EntityTypeImpl
,ImmutableNamedBasicTypeImpl
,JavaObjectType
,MappedSuperclassSqmPathSource
,MappedSuperclassTypeImpl
,NamedBasicTypeImpl
,NonAggregatedCompositeSqmPathSource
,NullSqmExpressible
,NullType
,PrimitiveBasicTypeImpl
,SerializableToBlobType
,SerializableType
,SetAttributeImpl
,SingularAttributeImpl
,SingularAttributeImpl.Identifier
,SingularAttributeImpl.Version
,SqmBasicValuedSimplePath
,SqmEmbeddedValuedSimplePath
,SqmEnumLiteral
,SqmFieldLiteral
,SqmJpaCompoundSelection
,SqmMapEntryReference
,SqmPolymorphicRootDescriptor
,StandardBasicTypeTemplate
public interface BindableType<J>
Types that can be used to handle bindingQuery
parameters- See Also:
BasicTypeReference
,StandardBasicTypes
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Class<J>
getBindableJavaType()
The expected Java typedefault boolean
isInstance(J value)
static <T> BindableType<? extends T>
parameterType(jakarta.persistence.metamodel.Bindable<T> jpaBindable)
static <T> BindableType<? extends T>
parameterType(jakarta.persistence.metamodel.ManagedType<T> managedType)
static <T> BindableType<? extends T>
parameterType(Class<?> javaType, jakarta.persistence.AttributeConverter<T,?> converter)
static <T> BindableType<? extends T>
parameterType(Class<?> javaType, Class<? extends jakarta.persistence.AttributeConverter<T,?>> converter)
static <T> BindableType<? extends T>
parameterType(Class<T> type)
static <T> BindableType<? extends T>
parameterType(Bindable bindable)
SqmExpressible<J>
resolveExpressible(SessionFactoryImplementor sessionFactory)
Resolve this parameter type to the corresponding SqmExpressible
-
-
-
Method Detail
-
isInstance
default boolean isInstance(J value)
-
parameterType
static <T> BindableType<? extends T> parameterType(Class<T> type)
-
parameterType
static <T> BindableType<? extends T> parameterType(Class<?> javaType, jakarta.persistence.AttributeConverter<T,?> converter)
-
parameterType
static <T> BindableType<? extends T> parameterType(Class<?> javaType, Class<? extends jakarta.persistence.AttributeConverter<T,?>> converter)
-
parameterType
static <T> BindableType<? extends T> parameterType(jakarta.persistence.metamodel.ManagedType<T> managedType)
-
parameterType
static <T> BindableType<? extends T> parameterType(jakarta.persistence.metamodel.Bindable<T> jpaBindable)
-
parameterType
static <T> BindableType<? extends T> parameterType(Bindable bindable)
-
resolveExpressible
SqmExpressible<J> resolveExpressible(SessionFactoryImplementor sessionFactory)
Resolve this parameter type to the corresponding SqmExpressible
-
-