Interface BindingContext

All Known Subinterfaces:
NodeBuilder, QueryEngine, RuntimeMetamodelsImplementor, SqlAstCreationContext, SqlTranslationEngine, SqmCreationContext
All Known Implementing Classes:
MappingMetamodelImpl, QueryEngineImpl, RuntimeMetamodelsImpl, SqlTranslationEngineImpl, SqmCriteriaNodeBuilder

@Incubating public interface BindingContext
A context within which a BindableType can be resolved to an instance of SqmExpressible.
Since:
7.0
See Also:
  • Method Details

    • getJpaMetamodel

      JpaMetamodel getJpaMetamodel()
    • getMappingMetamodel

      MappingMetamodel getMappingMetamodel()
    • getTypeConfiguration

      TypeConfiguration getTypeConfiguration()
    • resolveExpressible

      default <J> SqmBindableType<J> resolveExpressible(Type<J> bindableType)
      Resolve this parameter type to the corresponding SqmBindableType.
      Type Parameters:
      J - the type of the parameter
      Parameters:
      bindableType - the BindableType 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