Package org.hibernate.type
Interface BindingContext
- All Known Subinterfaces:
NodeBuilder
,QueryEngine
,RuntimeMetamodelsImplementor
,SqlAstCreationContext
,SqlTranslationEngine
,SqmCreationContext
- All Known Implementing Classes:
MappingMetamodelImpl
,QueryEngineImpl
,RuntimeMetamodelsImpl
,SqlTranslationEngineImpl
,SqmCriteriaNodeBuilder
A context within which a
BindableType
can be resolved
to an instance of SqmExpressible
.-
Method Summary
Modifier and TypeMethodDescriptiondefault <J> SqmBindableType<J>
resolveExpressible
(Type<J> bindableType) Resolve this parameter type to the correspondingSqmBindableType
.
-
Method Details
-
getJpaMetamodel
JpaMetamodel getJpaMetamodel() -
getMappingMetamodel
MappingMetamodel getMappingMetamodel() -
getTypeConfiguration
TypeConfiguration getTypeConfiguration() -
resolveExpressible
Resolve this parameter type to the correspondingSqmBindableType
.- Type Parameters:
J
- the type of the parameter- Parameters:
bindableType
- theBindableType
representing the type of the parameter, which may be null if the type is not known- Returns:
- the corresponding
SqmBindableType
, or null if the argument was null - Since:
- 7.0
-