Top Description Methods
org.hibernate.query.spi

public Interface QueryEngineOptions

Known Direct Subinterfaces
org.hibernate.boot.spi.SessionFactoryOptions
Imports
java.util.Map, org.hibernate.jpa.spi.JpaCompliance, org.hibernate.query.criteria.ValueHandlingMode, org.hibernate.query.hql.HqlTranslator, org.hibernate.query.sqm.function.SqmFunctionDescriptor, .SqmFunctionRegistry, org.hibernate.query.sqm.mutation.spi.SqmMultiTableInsertStrategy, .SqmMultiTableMutationStrategy, org.hibernate.query.sqm.sql.SqmTranslatorFactory

User configuration options related to the QueryEngine.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public ValueHandlingMode
public HqlTranslator
getCustomHqlTranslator()

Translator for transforming HQL (as an Antlr parse tree) into an SQM tree.

public Map<String, SqmFunctionDescriptor>
getCustomSqlFunctionMap()

User defined SQM functions available for use in HQL and Criteria.

public SqmFunctionRegistry
getCustomSqmFunctionRegistry()

User supplied registry of SQM functions available for use in HQL and Criteria

Can be used in conjunction with getCustomSqlFunctionMap(), but generally one or the other will be used.

public SqmMultiTableInsertStrategy
getCustomSqmMultiTableInsertStrategy()

Contract for handling SQM trees representing insertion (INSERT) queries where the target of the mutation is a multi-table entity.

public SqmMultiTableMutationStrategy
getCustomSqmMultiTableMutationStrategy()

Contract for handling SQM trees representing mutation (UPDATE or DELETE) queries where the target of the mutation is a multi-table entity.

public SqmTranslatorFactory
getCustomSqmTranslatorFactory()

Factory for translators transforming an SQM tree into a different form.

public JpaCompliance

Method Detail

getCriteriaValueHandlingModeback to summary
public ValueHandlingMode getCriteriaValueHandlingMode()
getCustomHqlTranslatorback to summary
public HqlTranslator getCustomHqlTranslator()

Translator for transforming HQL (as an Antlr parse tree) into an SQM tree.

See Also
org.hibernate.query.hql
getCustomSqlFunctionMapback to summary
public 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.

getCustomSqmFunctionRegistryback to summary
public SqmFunctionRegistry getCustomSqmFunctionRegistry()

User supplied registry of SQM functions available for use in HQL and Criteria

Can be used in conjunction with getCustomSqlFunctionMap(), but generally one or the other will be used.

getCustomSqmMultiTableInsertStrategyback to summary
public SqmMultiTableInsertStrategy getCustomSqmMultiTableInsertStrategy()

Contract for handling SQM trees representing insertion (INSERT) queries where the target of the mutation is a multi-table entity.

getCustomSqmMultiTableMutationStrategyback to summary
public SqmMultiTableMutationStrategy getCustomSqmMultiTableMutationStrategy()

Contract for handling SQM trees representing mutation (UPDATE or DELETE) queries where the target of the mutation is a multi-table entity.

getCustomSqmTranslatorFactoryback to summary
public 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
org.hibernate.sql.ast.tree
getJpaComplianceback to summary
public JpaCompliance getJpaCompliance()