Class QueryBinder
- java.lang.Object
-
- org.hibernate.boot.model.internal.QueryBinder
-
public abstract class QueryBinder extends Object
Responsible for reading named queries defined in annotations and registeringNamedQueryDefinition
objects.- Implementation Note:
- This class is stateless, unlike most of the other "binders".
-
-
Constructor Summary
Constructors Constructor Description QueryBinder()
-
Method Summary
-
-
-
Method Detail
-
bindQuery
public static void bindQuery(NamedQuery namedQuery, MetadataBuildingContext context, boolean isDefault)
-
bindNativeQuery
public static void bindNativeQuery(NamedNativeQuery namedNativeQuery, MetadataBuildingContext context, boolean isDefault)
-
bindNativeQuery
public static void bindNativeQuery(String name, SQLSelect sqlSelect, org.hibernate.annotations.common.reflection.XClass annotatedClass, MetadataBuildingContext context)
-
bindNativeQuery
public static void bindNativeQuery(NamedNativeQuery namedNativeQuery, MetadataBuildingContext context)
-
createStoredProcedure
public static NamedProcedureCallDefinition createStoredProcedure(NamedNativeQueryDefinitionBuilder builder, MetadataBuildingContext context, Supplier<RuntimeException> exceptionProducer)
-
bindQueries
public static void bindQueries(NamedQueries namedQueries, MetadataBuildingContext context, boolean isDefault)
-
bindNativeQueries
public static void bindNativeQueries(NamedNativeQueries namedNativeQueries, MetadataBuildingContext context, boolean isDefault)
-
bindNativeQueries
public static void bindNativeQueries(NamedNativeQueries namedNativeQueries, MetadataBuildingContext context)
-
bindQuery
public static void bindQuery(String name, HQLSelect hqlSelect, MetadataBuildingContext context)
-
bindQuery
public static void bindQuery(NamedQuery namedQuery, MetadataBuildingContext context)
-
bindQueries
public static void bindQueries(NamedQueries namedQueries, MetadataBuildingContext context)
-
bindNamedStoredProcedureQuery
public static void bindNamedStoredProcedureQuery(NamedStoredProcedureQuery namedStoredProcedureQuery, MetadataBuildingContext context, boolean isDefault)
-
bindSqlResultSetMappings
public static void bindSqlResultSetMappings(SqlResultSetMappings resultSetMappings, MetadataBuildingContext context, boolean isDefault)
-
bindSqlResultSetMapping
public static void bindSqlResultSetMapping(SqlResultSetMapping resultSetMapping, MetadataBuildingContext context, boolean isDefault)
-
parseJdbcCall
@Remove @Deprecated(since="6.2") public static @Remove String parseJdbcCall(String sqlString, List<String> parameterNames, Supplier<RuntimeException> exceptionProducer)
Deprecated.
-
-