Package org.hibernate.query.spi
Interface QueryEngineOptions
- All Known Subinterfaces:
SessionFactoryOptions
- All Known Implementing Classes:
AbstractDelegatingSessionFactoryOptions
,SessionFactoryOptionsBuilder
public interface QueryEngineOptions
User configuration options related to the
QueryEngine
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Translator for transforming HQL (as an Antlr parse tree) into an SQM tree.User defined SQM functions available for use in HQL and Criteria.User supplied registry of SQM functions available for use in HQL and CriteriaContract for handling SQM trees representing insertion (INSERT) queries where the target of the mutation is a multi-table entity.Contract for handling SQM trees representing mutation (UPDATE or DELETE) queries where the target of the mutation is a multi-table entity.Factory for translators transforming an SQM tree into a different form.Deprecated, for removal: This API element is subject to removal in a future version.getUuid()
boolean
boolean
Should HQL integer division HQL should produce an integer on Oracle, MySQL, and MariaDB, where the/
operator produces a non-integer.boolean
resolveCustomSqmMultiTableInsertStrategy
(EntityMappingType rootEntityDescriptor, RuntimeModelCreationContext creationContext) Contract for handling SQM trees representing insertion (INSERT) queries where the target of the mutation is a multi-table entity.resolveCustomSqmMultiTableMutationStrategy
(EntityMappingType rootEntityDescriptor, RuntimeModelCreationContext creationContext) Contract for handling SQM trees representing mutation (UPDATE or DELETE) queries where the target of the mutation is a multi-table entity.
-
Method Details
-
getCustomHqlTranslator
HqlTranslator getCustomHqlTranslator()Translator for transforming HQL (as an Antlr parse tree) into an SQM tree.- See Also:
-
getCustomSqmTranslatorFactory
SqmTranslatorFactory getCustomSqmTranslatorFactory()Factory for translators transforming an SQM tree into a different form. For standard ORM implementations this will generally be some form of SQL tree.- See Also:
-
getCustomSqlFunctionMap
Map<String,SqmFunctionDescriptor> getCustomSqlFunctionMap()User defined SQM functions available for use in HQL and Criteria.Ultimately made available to the
SqmTranslatorFactory
for use in translating an SQM tree.Can be used in conjunction with
getCustomSqmFunctionRegistry()
, but generally one or the other will be used. -
getCustomSqmFunctionRegistry
SqmFunctionRegistry getCustomSqmFunctionRegistry()User supplied registry of SQM functions available for use in HQL and CriteriaCan be used in conjunction with
getCustomSqlFunctionMap()
, but generally one or the other will be used. -
getCustomSqmMultiTableMutationStrategy
SqmMultiTableMutationStrategy getCustomSqmMultiTableMutationStrategy()Contract for handling SQM trees representing mutation (UPDATE or DELETE) queries where the target of the mutation is a multi-table entity.- See Also:
-
getCustomSqmMultiTableInsertStrategy
SqmMultiTableInsertStrategy getCustomSqmMultiTableInsertStrategy()Contract for handling SQM trees representing insertion (INSERT) queries where the target of the mutation is a multi-table entity.- See Also:
-
resolveCustomSqmMultiTableMutationStrategy
SqmMultiTableMutationStrategy resolveCustomSqmMultiTableMutationStrategy(EntityMappingType rootEntityDescriptor, RuntimeModelCreationContext creationContext) Contract for handling SQM trees representing mutation (UPDATE or DELETE) queries where the target of the mutation is a multi-table entity.- See Also:
-
resolveCustomSqmMultiTableInsertStrategy
SqmMultiTableInsertStrategy resolveCustomSqmMultiTableInsertStrategy(EntityMappingType rootEntityDescriptor, RuntimeModelCreationContext creationContext) Contract for handling SQM trees representing insertion (INSERT) queries where the target of the mutation is a multi-table entity.- See Also:
-
getJpaCompliance
JpaCompliance getJpaCompliance()- See Also:
-
getCriteriaValueHandlingMode
ValueHandlingMode getCriteriaValueHandlingMode()- See Also:
-
getImmutableEntityUpdateQueryHandlingMode
@Deprecated(since="7.0", forRemoval=true) ImmutableEntityUpdateQueryHandlingMode getImmutableEntityUpdateQueryHandlingMode()Deprecated, for removal: This API element is subject to removal in a future version.SinceImmutableEntityUpdateQueryHandlingMode
is deprecated. UseallowImmutableEntityUpdate()
instead.- See Also:
-
allowImmutableEntityUpdate
boolean allowImmutableEntityUpdate()- See Also:
-
isJsonFunctionsEnabled
boolean isJsonFunctionsEnabled()- See Also:
-
isXmlFunctionsEnabled
boolean isXmlFunctionsEnabled()- See Also:
-
isPortableIntegerDivisionEnabled
boolean isPortableIntegerDivisionEnabled()Should HQL integer division HQL should produce an integer on Oracle, MySQL, and MariaDB, where the/
operator produces a non-integer.- See Also:
-
getSessionFactoryName
String getSessionFactoryName() -
getUuid
String getUuid()
-
ImmutableEntityUpdateQueryHandlingMode
is deprecated.