Package org.hibernate.query.spi
Interface QueryEngineOptions
- All Known Subinterfaces:
SessionFactoryOptions
- All Known Implementing Classes:
AbstractDelegatingSessionFactoryOptions
,MockSessionFactory
,ProcessorSessionFactory
,SessionFactoryOptionsBuilder
public interface QueryEngineOptions
User configuration options related to the
QueryEngine
.-
Method Summary
Modifier and TypeMethodDescriptionTranslator 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.getUuid()
boolean
boolean
boolean
-
Method Details
-
getCustomHqlTranslator
HqlTranslator getCustomHqlTranslator()Translator for transforming HQL (as an Antlr parse tree) into an SQM tree. -
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. -
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. -
getCustomSqmMultiTableInsertStrategy
SqmMultiTableInsertStrategy getCustomSqmMultiTableInsertStrategy()Contract for handling SQM trees representing insertion (INSERT) queries where the target of the mutation is a multi-table entity. -
getJpaCompliance
JpaCompliance getJpaCompliance()- See Also:
-
getCriteriaValueHandlingMode
ValueHandlingMode getCriteriaValueHandlingMode() -
getImmutableEntityUpdateQueryHandlingMode
-
isJsonFunctionsEnabled
boolean isJsonFunctionsEnabled()- See Also:
-
isXmlFunctionsEnabled
boolean isXmlFunctionsEnabled()- See Also:
-
isPortableIntegerDivisionEnabled
boolean isPortableIntegerDivisionEnabled()- See Also:
-
getSessionFactoryName
String getSessionFactoryName() -
getUuid
String getUuid()
-