The important interfaces
NativeQuery provide an API for executing
queries. Instances of these interfaces may be obtained from a
QueryProducer, that is, from any
Other subpackages contain SPIs and internal implementation details, including the HQL parser and translator.
Interface Summary Interface Description BindableType<J>Types that can be used to handle binding
CommonQueryContract JpaTupleHibernate extension to the Jakarta Persistence
MutationQueryWithin the context of an active session, an instance of this type represents an executable mutation query, that is, an
NativeQuery<T>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. NativeQuery.CollectionReturnAllows access to further control how collection returns are mapped back from result sets. NativeQuery.FetchReturnAllows access to further control how join fetch returns are mapped back from result sets. NativeQuery.InstantiationResultNode<J> NativeQuery.ResultNodeSimple unification interface for all returns from the various
NativeQuery.ResultNodewhich can be a query result.
NativeQuery.ReturnPropertyAllows access to further control how properties within a root or join fetch are mapped back from the result set. NativeQuery.RootReturnAllows access to further control how root returns are mapped back from result sets. OutputableType<J> ParameterMetadataAccess to known information about the parameters for a query. Query<R> QueryLogging QueryParameter<T>Represents a parameter defined in the source (HQL/JPQL or criteria) query. QueryProducer ResultListTransformer<T> ReturnableType<T>Specialization of DomainType for types that can be used as function returns SelectionQuery<R>Within the context of an active session, an instance of this type represents an executable selection query, that is, a
SynchronizeableQueryRepresents the abstract notion of a query whose results are affected by the data stored in a given set of named query spaces. TupleTransformer<T> TypedTupleTransformer<T>Extension to TupleTransformer exposing the transformation target type.
Class Summary Class Description Order<X>A rule for sorting a query result set. Page TypedParameterValue<J>Represents a typed argument to a query parameter.
Enum Summary Enum Description ImmutableEntityUpdateQueryHandlingModeThis enum defines how
Immutableentities are handled when executing a bulk update statement.
NullPrecedenceEnumerates the possibilities for the precedence of null values within query result sets sorted by an
SortDirectionEnumerates the directions in which query results may be sorted.
Exception Summary Exception Description IllegalMutationQueryException IllegalNamedQueryOptionsExceptionIndicates a named-query has specified options that are not legal IllegalQueryOperationExceptionIndicates an attempt to perform some operation on a Query that is illegal based on its state, e.g., attempt to call
Query.executeUpdate()on a SELECT query.
IllegalSelectQueryExceptionIndicates an attempt to call
QueryProducer.createSelectionQuery(String)with a non-selection query (generally a mutation query)
NamedQueryValidationExceptionIndicates that validation and translation of one or more named queries failed at initialization time. NotIndexedCollectionExceptionIndicates an attempt to use a non-indexed collection as indexed. ParameterLabelExceptionIndicates a problem with the labelling of query parameters. PathExceptionIndicates a problem with a path expression in HQL/JPQL. QueryArgumentExceptionAn error that occurs binding an argument to a query parameter. QueryTypeMismatchExceptionIndicates a mismatch between the expected and actual result types of a query. SemanticExceptionRepresents an error in the semantics (meaning) of a HQL/JPQL query. SyntaxExceptionRepresents a syntax error in a HQL/JPQL query. UnknownNamedQueryExceptionOccurs when a named query is requested, and there is no known HQL or native SQL query registered under the given name. UnknownParameterExceptionIndicates an attempt to find an unknown query parameter or an attempt to bind a value to an unknown query parameter UnknownSqlResultSetMappingExceptionIndicates a request for named ResultSet mapping which could not be found