Package org.hibernate.query
-
Interface Summary Interface Description CommonQueryContract Defines the aspects of query definition that apply to all forms of querying (HQL, JPQL, criteria) across all forms of persistence contexts (Session, StatelessSession, EntityManager).DotIdentifierSequence Hibernate often deals with compound names/paths.JpaTuple NativeQuery<T> Represents a native (SQL) query.NativeQuery.CollectionReturn NativeQuery.FetchReturn Allows access to further control how join fetch returns are mapped back from result sets.NativeQuery.InstantiationResultNode<J> NativeQuery.ResultNode Simple unification interface for all returns from the various `#addXYZ` methods .NativeQuery.ReturnableResultNode ResultNode which can be a query resultNativeQuery.ReturnProperty Allows access to further control how properties within a root or join fetch are mapped back from the result set.NativeQuery.RootReturn Allows access to further control how root returns are mapped back from result sets.ParameterMetadata Access to known information about the parameters for a query.Query<R> Represents an HQL/JPQL query or a compiled Criteria query.QueryLogging QueryParameter<T> Represents a parameter defined in the source (HQL/JPQL or criteria) query.QueryProducer Contract for things that can produce Query instances.ResultListTransformer Allows defining transformation of the result List from a Query to some other form.SynchronizeableQuery A unifying interface for queries which can define tables (query spaces) to synchronize on.TupleTransformer<T> User hook for applying transformations of the query result tuples (the result "row"). -
Class Summary Class Description AbstractQueryParameter<T> EntityIdentifierNavigablePath Limit Paging limitsNavigablePath Compound-name where each path references to a domain or mapping model-part relative to a root path.TreatedNavigablePath TypedParameterValue<J> Can be used to bind query parameter values. -
Enum Summary Enum Description BinaryArithmeticOperator CastType Defines the set of basic types which should be accepted by thecast()
function on every platform.ComparisonOperator Defines the comparison operators.ConstructorEntityArgumentMode Describes the allowable ways in which entity references can be handled as dynamic-instantiation (ctor result) argument.DynamicInstantiationNature Represents the type of instantiation to be performed.FetchClauseType The kind of fetch to use for the FETCH clause.ImmutableEntityUpdateQueryHandlingMode This enum defines howImmutable
entities are handled when executing a bulk update statement.IntervalType The different types of intervals that SQL defines.NullOrdering The order of null.NullPrecedence Defines precedence of null values withinORDER BY
clause.SetOperator The SQL set operators.SortOrder TemporalUnit A temporal field type which can occur as an argument toextract()
or as the unit of a duration expression.TrimSpec UnaryArithmeticOperator -
Exception Summary Exception Description IllegalQueryOperationException Indicates an attempt to perform some operation on a Query that is illegal based on its state, e.g., attempt to callQuery.executeUpdate()
on a SELECT query.NotIndexedCollectionException Indicates an attempt to use a non-indexed collection as indexed.PathException Indicates an attempt to use a path in an unsupported wayQueryTypeMismatchException Indicates a problem with requested typed-Query result-type (e.g., JPA'sTypedQuery
)SemanticException Represents an error in the semantics (meaning) of the passed query.UnknownParameterException Generally indicates an attempt to bind a parameter value for an unknown parameter.UnknownSqlResultSetMappingException