Uses of Interface
org.hibernate.query.spi.QueryOptions
Packages that use QueryOptions
Package
Description
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
Support for
Dialect
-specific pagination strategies.Everything related to HQL/JPQL, native SQL, and criteria queries.
Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
Package for the SQM-backed Query implementation details
Support for multi-table SQM mutation (insert, update, delete) operations using
a table to temporarily hold the matching ids.
SPI-level SQM contracts
Package for the translation of SQM into SQL AST
Package defining a SQL AST for use in generation of SQL.
Package defining support for creating and consuming a SQL AST.
Implementation of the SPI for execution of SQL statements via JDBC.
SPI for execution of SQL statements via JDBC.
-
Uses of QueryOptions in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type QueryOptionsModifier and TypeMethodDescriptionDialect.addSqlHintOrComment
(String sql, QueryOptions queryOptions, boolean commentsEnabled) Modify the SQL, adding hints or comments, if necessaryDialectDelegateWrapper.addSqlHintOrComment
(String sql, QueryOptions queryOptions, boolean commentsEnabled) PostgreSQLDialect.addSqlHintOrComment
(String sql, QueryOptions queryOptions, boolean commentsEnabled) boolean
Dialect.useFollowOnLocking
(String sql, QueryOptions queryOptions) Some dialects have trouble applying pessimistic locking depending upon what other query options are specified (paging, ordering, etc).boolean
DialectDelegateWrapper.useFollowOnLocking
(String sql, QueryOptions queryOptions) boolean
OracleDialect.useFollowOnLocking
(String sql, QueryOptions queryOptions) TheFOR UPDATE
clause cannot be applied when usingORDER BY
,DISTINCT
or views.Constructors in org.hibernate.dialect with parameters of type QueryOptionsModifierConstructorDescriptionSybaseSqmToSqlAstConverter
(SqmStatement<?> statement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers fetchInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems) -
Uses of QueryOptions in org.hibernate.dialect.pagination
Methods in org.hibernate.dialect.pagination with parameters of type QueryOptionsModifier and TypeMethodDescriptiondefault String
LimitHandler.processSql
(String sql, Limit limit, QueryOptions queryOptions) Oracle12LimitHandler.processSql
(String sql, Limit limit, QueryOptions queryOptions) -
Uses of QueryOptions in org.hibernate.engine.jdbc.mutation.internal
Classes in org.hibernate.engine.jdbc.mutation.internal that implement QueryOptions -
Uses of QueryOptions in org.hibernate.loader.ast.internal
Classes in org.hibernate.loader.ast.internal that implement QueryOptionsModifier and TypeClassDescriptionclass
Helper used when generating the database-snapshot select query -
Uses of QueryOptions in org.hibernate.query
Methods in org.hibernate.query that return QueryOptionsModifier and TypeMethodDescriptionQuery.getQueryOptions()
Get the execution options for thisQuery
. -
Uses of QueryOptions in org.hibernate.query.internal
Classes in org.hibernate.query.internal that implement QueryOptionsMethods in org.hibernate.query.internal that return QueryOptions -
Uses of QueryOptions in org.hibernate.query.spi
Subinterfaces of QueryOptions in org.hibernate.query.spiClasses in org.hibernate.query.spi that implement QueryOptionsModifier and TypeClassDescriptionclass
class
class
Fields in org.hibernate.query.spi declared as QueryOptionsModifier and TypeFieldDescriptionstatic final QueryOptions
QueryOptions.NONE
Provide singleton access for frequently needed options:static final QueryOptions
QueryOptions.READ_ONLY
static final QueryOptions
QueryOptions.READ_WRITE
Methods in org.hibernate.query.spi that return QueryOptionsModifier and TypeMethodDescriptionDomainQueryExecutionContext.getQueryOptions()
The options to use for execution of the querySqmQuery.getQueryOptions()
static QueryOptions
SqlOmittingQueryOptions.omitSqlQueryOptions
(QueryOptions originalOptions) static QueryOptions
SqlOmittingQueryOptions.omitSqlQueryOptions
(QueryOptions originalOptions, boolean omitLimit, boolean omitLocks) static QueryOptions
SqlOmittingQueryOptions.omitSqlQueryOptions
(QueryOptions originalOptions, JdbcOperationQuerySelect select) static QueryOptions
SqlOmittingQueryOptions.omitSqlQueryOptionsWithUniqueSemanticFilter
(QueryOptions originalOptions, boolean omitLimit, boolean omitLocks) Methods in org.hibernate.query.spi with parameters of type QueryOptionsModifier and TypeMethodDescriptionstatic QueryOptions
SqlOmittingQueryOptions.omitSqlQueryOptions
(QueryOptions originalOptions) static QueryOptions
SqlOmittingQueryOptions.omitSqlQueryOptions
(QueryOptions originalOptions, boolean omitLimit, boolean omitLocks) static QueryOptions
SqlOmittingQueryOptions.omitSqlQueryOptions
(QueryOptions originalOptions, JdbcOperationQuerySelect select) static QueryOptions
SqlOmittingQueryOptions.omitSqlQueryOptionsWithUniqueSemanticFilter
(QueryOptions originalOptions, boolean omitLimit, boolean omitLocks) Constructors in org.hibernate.query.spi with parameters of type QueryOptionsModifierConstructorDescriptionDelegatingQueryOptions
(QueryOptions queryOptions) SqlOmittingQueryOptions
(QueryOptions queryOptions, boolean omitLimit, boolean omitLocks) SqlOmittingQueryOptions
(QueryOptions queryOptions, boolean omitLimit, boolean omitLocks, ListResultsConsumer.UniqueSemantic semantic) -
Uses of QueryOptions in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal that return QueryOptionsModifier and TypeMethodDescriptionSqmInterpretationsKey.CacheabilityInfluencers.getQueryOptions()
SqmJdbcExecutionContextAdapter.getQueryOptions()
static QueryOptions
QuerySqmImpl.uniqueSemanticQueryOptions
(QueryOptions originalOptions) Methods in org.hibernate.query.sqm.internal with parameters of type QueryOptionsModifier and TypeMethodDescriptionstatic boolean
AppliedGraphs.containsCollectionFetches
(QueryOptions queryOptions) protected static <T> RowTransformer<T>
ConcreteSqmSelectQueryPlan.determineRowTransformer
(SqmSelectStatement<?> sqm, Class<T> resultClass, TupleMetadata tupleMetadata, QueryOptions queryOptions) static QueryOptions
QuerySqmImpl.uniqueSemanticQueryOptions
(QueryOptions originalOptions) Constructors in org.hibernate.query.sqm.internal with parameters of type QueryOptionsModifierConstructorDescriptionConcreteSqmSelectQueryPlan
(SqmSelectStatement<?> sqm, String hql, DomainParameterXref domainParameterXref, Class<R> resultType, TupleMetadata tupleMetadata, QueryOptions queryOptions) -
Uses of QueryOptions in org.hibernate.query.sqm.mutation.internal
Constructors in org.hibernate.query.sqm.mutation.internal with parameters of type QueryOptionsModifierConstructorDescriptionMultiTableSqmMutationConverter
(EntityMappingType mutatingEntityDescriptor, SqmStatement<?> statement, SqmRoot<?> sqmRoot, String sourceAlias, DomainParameterXref domainParameterXref, QueryOptions queryOptions, LoadQueryInfluencers loadQueryInfluencers, QueryParameterBindings domainParameterBindings, SqlAstCreationContext creationContext) MultiTableSqmMutationConverter
(EntityMappingType mutatingEntityDescriptor, SqmStatement<?> statement, SqmRoot<?> sqmRoot, DomainParameterXref domainParameterXref, QueryOptions queryOptions, LoadQueryInfluencers loadQueryInfluencers, QueryParameterBindings domainParameterBindings, SqlAstCreationContext creationContext) -
Uses of QueryOptions in org.hibernate.query.sqm.mutation.internal.temptable
Constructors in org.hibernate.query.sqm.mutation.internal.temptable with parameters of type QueryOptionsModifierConstructorDescriptionAbstractDeleteExecutionDelegate
(EntityMappingType entityDescriptor, TemporaryTable idTable, AfterUseAction afterUseAction, SqmDeleteStatement<?> sqmDelete, DomainParameterXref domainParameterXref, QueryOptions queryOptions, LoadQueryInfluencers loadQueryInfluencers, QueryParameterBindings queryParameterBindings, Function<SharedSessionContractImplementor, String> sessionUidAccess, SessionFactoryImplementor sessionFactory) RestrictedDeleteExecutionDelegate
(EntityMappingType entityDescriptor, TemporaryTable idTable, AfterUseAction afterUseAction, SqmDeleteStatement<?> sqmDelete, DomainParameterXref domainParameterXref, QueryOptions queryOptions, LoadQueryInfluencers loadQueryInfluencers, QueryParameterBindings queryParameterBindings, Function<SharedSessionContractImplementor, String> sessionUidAccess, SessionFactoryImplementor sessionFactory) SoftDeleteExecutionDelegate
(EntityMappingType entityDescriptor, TemporaryTable idTable, AfterUseAction afterUseAction, SqmDeleteStatement<?> sqmDelete, DomainParameterXref domainParameterXref, QueryOptions queryOptions, LoadQueryInfluencers loadQueryInfluencers, QueryParameterBindings queryParameterBindings, Function<SharedSessionContractImplementor, String> sessionUidAccess, SessionFactoryImplementor sessionFactory) -
Uses of QueryOptions in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi that return QueryOptions -
Uses of QueryOptions in org.hibernate.query.sqm.sql
Methods in org.hibernate.query.sqm.sql that return QueryOptionsMethods in org.hibernate.query.sqm.sql with parameters of type QueryOptionsModifier and TypeMethodDescriptionSqmTranslator<? extends MutationStatement>
SqmTranslatorFactory.createMutationTranslator
(SqmDmlStatement<?> sqmDmlStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) SqmTranslator<? extends MutationStatement>
StandardSqmTranslatorFactory.createMutationTranslator
(SqmDmlStatement<?> sqmDmlStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) SqmTranslatorFactory.createSelectTranslator
(SqmSelectStatement<?> sqmSelectStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems) StandardSqmTranslatorFactory.createSelectTranslator
(SqmSelectStatement<?> sqmSelectStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems) Constructors in org.hibernate.query.sqm.sql with parameters of type QueryOptionsModifierConstructorDescriptionBaseSqmToSqlAstConverter
(SqlAstCreationContext creationContext, SqmStatement<?> statement, QueryOptions queryOptions, LoadQueryInfluencers loadQueryInfluencers, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, boolean deduplicateSelectionItems) -
Uses of QueryOptions in org.hibernate.query.sqm.sql.internal
Constructors in org.hibernate.query.sqm.sql.internal with parameters of type QueryOptionsModifierConstructorDescriptionStandardSqmTranslator
(SqmStatement<?> statement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers fetchInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems) -
Uses of QueryOptions in org.hibernate.result.internal
Methods in org.hibernate.result.internal that return QueryOptions -
Uses of QueryOptions in org.hibernate.result.spi
Methods in org.hibernate.result.spi that return QueryOptions -
Uses of QueryOptions in org.hibernate.sql.ast
Methods in org.hibernate.sql.ast with parameters of type QueryOptionsModifier and TypeMethodDescriptionSqlAstTranslator.translate
(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) -
Uses of QueryOptions in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi with parameters of type QueryOptionsModifier and TypeMethodDescriptionAbstractSqlAstTranslator.translate
(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) -
Uses of QueryOptions in org.hibernate.sql.exec.internal
Methods in org.hibernate.sql.exec.internal that return QueryOptionsMethods in org.hibernate.sql.exec.internal with parameters of type QueryOptionsModifier and TypeMethodDescriptionboolean
JdbcCallImpl.isCompatibleWith
(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) static CacheMode
JdbcExecHelper.resolveCacheMode
(QueryOptions options, SharedSessionContractImplementor session) -
Uses of QueryOptions in org.hibernate.sql.exec.spi
Methods in org.hibernate.sql.exec.spi that return QueryOptionsMethods in org.hibernate.sql.exec.spi with parameters of type QueryOptionsModifier and TypeMethodDescriptionboolean
AbstractJdbcOperationQuery.isCompatibleWith
(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) boolean
JdbcOperationQuery.isCompatibleWith
(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) boolean
JdbcOperationQueryMutationNative.isCompatibleWith
(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) boolean
JdbcOperationQuerySelect.isCompatibleWith
(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) -
Uses of QueryOptions in org.hibernate.sql.results.graph.embeddable.internal
Methods in org.hibernate.sql.results.graph.embeddable.internal that return QueryOptions -
Uses of QueryOptions in org.hibernate.sql.results.internal
Methods in org.hibernate.sql.results.internal that return QueryOptions -
Uses of QueryOptions in org.hibernate.sql.results.jdbc.internal
Methods in org.hibernate.sql.results.jdbc.internal that return QueryOptionsConstructors in org.hibernate.sql.results.jdbc.internal with parameters of type QueryOptionsModifierConstructorDescriptionJdbcValuesResultSetImpl
(ResultSetAccess resultSetAccess, QueryKey queryCacheKey, String queryIdentifier, QueryOptions queryOptions, boolean usesFollowOnLocking, JdbcValuesMapping valuesMapping, CachedJdbcValuesMetadata metadataForCache, ExecutionContext executionContext) -
Uses of QueryOptions in org.hibernate.sql.results.jdbc.spi
Methods in org.hibernate.sql.results.jdbc.spi that return QueryOptionsModifier and TypeMethodDescriptiondefault QueryOptions
JdbcValuesSourceProcessingState.getQueryOptions()