Uses of Package
org.hibernate.query
Packages that use org.hibernate.query
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.Contains implementations of
SqmFunctionDescriptor
describing a range of relatively-sophisticated SQL functions available in various dialects.An SPI for dealing with parameters of native queries.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
Defines the event types and event listener interfaces for
events produced by the stateful
Session
.An SPI for managing cases where, by default, Hibernate intentionally violates
the letter of the JPA specification.
This package defines an API for accessing the runtime metamodel describing persistent
entities in Java and their mappings to the relational database schema.
Defines the runtime mapping metamodel, which describes the mapping
of the application's domain model parts (entities, attributes) to
relational database objects (tables, columns).
Defines the runtime domain metamodel, which describes the Java aspect of
the application's domain model parts (entities, attributes).
An SPI supporting custom instantiation of
entity instances and
embeddable objects.
This package abstracts persistence mechanisms for entities.
Defines support for executing database stored procedures and functions and accessing their outputs.
Defines an SPI for calling stored procedures and functions.
Everything related to HQL/JPQL, native SQL, and criteria queries.
The JPA-standard criteria query API defines all the operations needed express
any query written in standard JPQL.
SPI for extending
HibernateCriteriaBuilder
with additional functionality by registering a Service
.SPIs for HQL support.
Support SQL functions in the SQM model.
Support for SelectionSpecification
and MutationSpecification which
is similar in concept to criteria queries, but focused on ease-of-use and less verbosity.
Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
SPIs for native SQL query support.
This package defines a semantic model of HQL queries.
Package defining support for
SqmFunctionDescriptor
handling.SPI-level SQM contracts
Nodes representing common table expressions (CTE) in the SQM tree.
Nodes representing path expressions in the SQM tree.
Nodes representing expressions in the SQM tree.
Nodes representing root entities and joins in the SQM tree.
Nodes representing
select
statements in the SQM tree.Support for tuples in SQM.
Package defining support for creating and consuming a SQL AST.
Support for common table expressions (CTE) in a SQL tree.
AST nodes representing
select
statements in a SQL tree.SPI for execution of SQL statements via JDBC.
Defines strategies for post-processing criteria query
results into a form convenient to the application.
A Hibernate
Type
is a strategy for mapping a Java
property type to a JDBC type or types.-
Classes in org.hibernate.query used by org.hibernateClassDescriptionWithin the context of an active session, an instance of this type represents an executable query, either: a query written in HQL, a named query written in HQL or native SQL, or a criteria query.Contract for things that can produce instances of
Query
andNativeQuery
. -
Classes in org.hibernate.query used by org.hibernate.dialect.functionClassDescriptionA context within which a
BindableType
can be resolved to an instance ofSqmExpressible
. -
Classes in org.hibernate.query used by org.hibernate.dialect.function.arrayClassDescriptionA context within which a
BindableType
can be resolved to an instance ofSqmExpressible
. -
Classes in org.hibernate.query used by org.hibernate.dialect.function.jsonClassDescriptionA context within which a
BindableType
can be resolved to an instance ofSqmExpressible
. -
Classes in org.hibernate.query used by org.hibernate.engine.query.spiClassDescriptionTypes that can be used to handle binding
Query
parametersRepresents a parameter defined in the source (HQL/JPQL or criteria) query. -
Classes in org.hibernate.query used by org.hibernate.engine.spiClassDescriptionWithin the context of an active session, an instance of this type represents an executable mutation query, that is, an
insert
,update
, ordelete
.Within the context of an active session, an instance of this type represents an executable query written in the native SQL dialect of the underlying database.Within the context of an active session, an instance of this type represents an executable query, either: a query written in HQL, a named query written in HQL or native SQL, or a criteria query.Contract for things that can produce instances ofQuery
andNativeQuery
.Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
. -
Classes in org.hibernate.query used by org.hibernate.event.spi
-
Classes in org.hibernate.query used by org.hibernate.jpa.spiClassDescriptionExtension to TupleTransformer exposing the transformation target type.
-
Classes in org.hibernate.query used by org.hibernate.metamodel
-
Classes in org.hibernate.query used by org.hibernate.metamodel.mappingClassDescriptionTypes that can be used to handle binding
Query
parametersSpecialization ofDomainType
for types that can be used as a parameter output for aProcedureCall
. -
Classes in org.hibernate.query used by org.hibernate.metamodel.mapping.ordering.astClassDescriptionDeprecated.Use Jakarta Persistence Nulls instead.Enumerates the directions in which query results may be sorted.
-
Classes in org.hibernate.query used by org.hibernate.metamodel.model.domainClassDescriptionTypes that can be used to handle binding
Query
parametersSpecialization ofDomainType
for types that can be used as a parameter output for aProcedureCall
. -
Classes in org.hibernate.query used by org.hibernate.metamodel.spiClassDescriptionA context within which a
BindableType
can be resolved to an instance ofSqmExpressible
. -
Classes in org.hibernate.query used by org.hibernate.persister.entityClassDescriptionTypes that can be used to handle binding
Query
parametersSpecialization ofDomainType
for types that can be used as a parameter output for aProcedureCall
. -
Classes in org.hibernate.query used by org.hibernate.procedureClassDescriptionDefines the aspects of query execution and parameter binding that apply to all forms of querying: queries written in HQL or JPQL, queries written in the native SQL dialect of the database, criteria queries, and stored procedure calls.Represents a parameter defined in the source (HQL/JPQL or criteria) query.Represents the abstract notion of a query whose results are affected by the data stored in a given set of named query spaces.
-
Classes in org.hibernate.query used by org.hibernate.procedure.spiClassDescriptionDefines the aspects of query execution and parameter binding that apply to all forms of querying: queries written in HQL or JPQL, queries written in the native SQL dialect of the database, criteria queries, and stored procedure calls.Within the context of an active session, an instance of this type represents an executable mutation query, that is, an
insert
,update
, ordelete
.Within the context of an active session, an instance of this type represents an executable query, either: a query written in HQL, a named query written in HQL or native SQL, or a criteria query.Represents a parameter defined in the source (HQL/JPQL or criteria) query.Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
.Represents the abstract notion of a query whose results are affected by the data stored in a given set of named query spaces. -
Classes in org.hibernate.query used by org.hibernate.queryClassDescriptionTypes that can be used to handle binding
Query
parametersA context within which aBindableType
can be resolved to an instance ofSqmExpressible
.Defines the aspects of query execution and parameter binding that apply to all forms of querying: queries written in HQL or JPQL, queries written in the native SQL dialect of the database, criteria queries, and stored procedure calls.Thrown when an operation of theQuery
interface is called which is unsupported due to the nature of the query itself.Support for pagination based on a unique key of the result set instead of theoffset
.Support for pagination based on a unique key of the result set instead of theoffset
.Within the context of an active session, an instance of this type represents an executable mutation query, that is, aninsert
,update
, ordelete
.Within the context of an active session, an instance of this type represents an executable query written in the native SQL dialect of the underlying database.Allows access to further control how join fetch returns are mapped back from result sets.Simple unification interface for all returns from the variousaddXYZ()
methods.ANativeQuery.ResultNode
which can be a query result.Allows access to further control how properties within a root or join fetch are mapped back from the result set.Allows access to further control how root returns are mapped back from result sets.Deprecated.Use Jakarta Persistence Nulls instead.A rule for sorting a query result set.Identifies a page of query results by page size and page number.Information about the parameters of a query.Within the context of an active session, an instance of this type represents an executable query, either: a query written in HQL, a named query written in HQL or native SQL, or a criteria query.Enumerates the possible flush modes for execution of aQuery
.Represents a parameter defined in the source (HQL/JPQL or criteria) query.Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
.Represents an error in the semantics (meaning) of a HQL/JPQL query.Enumerates the directions in which query results may be sorted.Represents the abstract notion of a query whose results are affected by the data stored in a given set of named query spaces.Represents a typed argument to a query parameter. -
Classes in org.hibernate.query used by org.hibernate.query.criteriaClassDescriptionDeprecated.Use Jakarta Persistence Nulls instead.Contract for things that can produce instances of
Query
andNativeQuery
.Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
.Enumerates the directions in which query results may be sorted. -
Classes in org.hibernate.query used by org.hibernate.query.criteria.spiClassDescriptionDeprecated.Use Jakarta Persistence Nulls instead.Enumerates the directions in which query results may be sorted.
-
Classes in org.hibernate.query used by org.hibernate.query.hql.spiClassDescriptionTypes that can be used to handle binding
Query
parametersDefines the aspects of query execution and parameter binding that apply to all forms of querying: queries written in HQL or JPQL, queries written in the native SQL dialect of the database, criteria queries, and stored procedure calls.Within the context of an active session, an instance of this type represents an executable mutation query, that is, aninsert
,update
, ordelete
.Within the context of an active session, an instance of this type represents an executable query, either: a query written in HQL, a named query written in HQL or native SQL, or a criteria query.Enumerates the possible flush modes for execution of aQuery
.Represents a parameter defined in the source (HQL/JPQL or criteria) query.Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
. -
Classes in org.hibernate.query used by org.hibernate.query.procedureClassDescriptionRepresents a parameter defined in the source (HQL/JPQL or criteria) query.
-
Classes in org.hibernate.query used by org.hibernate.query.specificationClassDescriptionDefines the aspects of query execution and parameter binding that apply to all forms of querying: queries written in HQL or JPQL, queries written in the native SQL dialect of the database, criteria queries, and stored procedure calls.Within the context of an active session, an instance of this type represents an executable mutation query, that is, an
insert
,update
, ordelete
.A rule for sorting a query result set.Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
. -
Classes in org.hibernate.query used by org.hibernate.query.spiClassDescriptionTypes that can be used to handle binding
Query
parametersA context within which aBindableType
can be resolved to an instance ofSqmExpressible
.Defines the aspects of query execution and parameter binding that apply to all forms of querying: queries written in HQL or JPQL, queries written in the native SQL dialect of the database, criteria queries, and stored procedure calls.Support for pagination based on a unique key of the result set instead of theoffset
.Support for pagination based on a unique key of the result set instead of theoffset
.Within the context of an active session, an instance of this type represents an executable mutation query, that is, aninsert
,update
, ordelete
.Information about the parameters of a query.Within the context of an active session, an instance of this type represents an executable query, either: a query written in HQL, a named query written in HQL or native SQL, or a criteria query.Enumerates the possible flush modes for execution of aQuery
.Represents a parameter defined in the source (HQL/JPQL or criteria) query.Contract for things that can produce instances ofQuery
andNativeQuery
.Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
. -
Classes in org.hibernate.query used by org.hibernate.query.sql.spiClassDescriptionTypes that can be used to handle binding
Query
parametersA context within which aBindableType
can be resolved to an instance ofSqmExpressible
.Defines the aspects of query execution and parameter binding that apply to all forms of querying: queries written in HQL or JPQL, queries written in the native SQL dialect of the database, criteria queries, and stored procedure calls.Within the context of an active session, an instance of this type represents an executable mutation query, that is, aninsert
,update
, ordelete
.Within the context of an active session, an instance of this type represents an executable query written in the native SQL dialect of the underlying database.Within the context of an active session, an instance of this type represents an executable query, either: a query written in HQL, a named query written in HQL or native SQL, or a criteria query.Enumerates the possible flush modes for execution of aQuery
.Represents a parameter defined in the source (HQL/JPQL or criteria) query.Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
.Represents the abstract notion of a query whose results are affected by the data stored in a given set of named query spaces. -
Classes in org.hibernate.query used by org.hibernate.query.sqmClassDescriptionTypes that can be used to handle binding
Query
parametersA context within which aBindableType
can be resolved to an instance ofSqmExpressible
.Defines the aspects of query execution and parameter binding that apply to all forms of querying: queries written in HQL or JPQL, queries written in the native SQL dialect of the database, criteria queries, and stored procedure calls.Deprecated.Use Jakarta Persistence Nulls instead.Indicates a problem with a path expression in HQL/JPQL.Enumerates the possible flush modes for execution of aQuery
.Represents a parameter defined in the source (HQL/JPQL or criteria) query.Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
.Represents an error in the semantics (meaning) of a HQL/JPQL query.Enumerates the directions in which query results may be sorted. -
Classes in org.hibernate.query used by org.hibernate.query.sqm.produce.functionClassDescriptionA context within which a
BindableType
can be resolved to an instance ofSqmExpressible
.Represents an error in the semantics (meaning) of a HQL/JPQL query. -
Classes in org.hibernate.query used by org.hibernate.query.sqm.spiClassDescriptionTypes that can be used to handle binding
Query
parametersA context within which aBindableType
can be resolved to an instance ofSqmExpressible
.Defines the aspects of query execution and parameter binding that apply to all forms of querying: queries written in HQL or JPQL, queries written in the native SQL dialect of the database, criteria queries, and stored procedure calls.Support for pagination based on a unique key of the result set instead of theoffset
.Support for pagination based on a unique key of the result set instead of theoffset
.Identifies a page of query results by page size and page number.Information about the parameters of a query.Enumerates the possible flush modes for execution of aQuery
.Represents a parameter defined in the source (HQL/JPQL or criteria) query.Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
. -
Classes in org.hibernate.query used by org.hibernate.query.sqm.tree.cte
-
Classes in org.hibernate.query used by org.hibernate.query.sqm.tree.domainClassDescriptionTypes that can be used to handle binding
Query
parametersIndicates a problem with a path expression in HQL/JPQL. -
Classes in org.hibernate.query used by org.hibernate.query.sqm.tree.expressionClassDescriptionTypes that can be used to handle binding
Query
parametersA context within which aBindableType
can be resolved to an instance ofSqmExpressible
.Represents a parameter defined in the source (HQL/JPQL or criteria) query. -
Classes in org.hibernate.query used by org.hibernate.query.sqm.tree.from
-
Classes in org.hibernate.query used by org.hibernate.query.sqm.tree.select
-
Classes in org.hibernate.query used by org.hibernate.query.sqm.tuple
-
Classes in org.hibernate.query used by org.hibernate.query.sqm.tuple.internal
-
Classes in org.hibernate.query used by org.hibernate.sql.ast.spiClassDescriptionA context within which a
BindableType
can be resolved to an instance ofSqmExpressible
.Enumerates the directions in which query results may be sorted. -
Classes in org.hibernate.query used by org.hibernate.sql.ast.tree.cteClassDescriptionDeprecated.Use Jakarta Persistence Nulls instead.Enumerates the directions in which query results may be sorted.
-
Classes in org.hibernate.query used by org.hibernate.sql.ast.tree.selectClassDescriptionDeprecated.Use Jakarta Persistence Nulls instead.Enumerates the directions in which query results may be sorted.
-
Classes in org.hibernate.query used by org.hibernate.sql.exec.spiClassDescriptionSpecialization of
DomainType
for types that can be used as a parameter output for aProcedureCall
. -
Classes in org.hibernate.query used by org.hibernate.transformClassDescriptionExtension to TupleTransformer exposing the transformation target type.
-
Classes in org.hibernate.query used by org.hibernate.typeClassDescriptionTypes that can be used to handle binding
Query
parametersA context within which aBindableType
can be resolved to an instance ofSqmExpressible
.Specialization ofDomainType
for types that can be used as a parameter output for aProcedureCall
.