Top Fields Constructors Methods
org.hibernate.boot.internal

public Class NamedHqlQueryDefinitionImpl

extends AbstractNamedQueryDefinition
implements NamedHqlQueryDefinition
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.query.NamedHqlQueryDefinition, org.hibernate.boot.query.NamedQueryDefinition
Imports
java.util.Map, org.hibernate.CacheMode, .FlushMode, .LockOptions, org.hibernate.boot.spi.AbstractNamedQueryDefinition, org.hibernate.boot.query.NamedHqlQueryDefinition, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.query.hql.internal.NamedHqlQueryMementoImpl, org.hibernate.query.sqm.spi.NamedSqmQueryMemento

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Integer
private final String
private final Integer
private final Map<String, String>

Constructor Summary

AccessConstructor and Description
public
NamedHqlQueryDefinitionImpl(String name, String hqlString, Integer firstResult, Integer maxResults, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, String> parameterTypes, Map<String, Object> hints)

Method Summary

Modifier and TypeMethod and Description
public String
public NamedSqmQueryMemento
resolve(SessionFactoryImplementor factory)

Implements org.hibernate.boot.query.NamedHqlQueryDefinition.resolve, org.hibernate.boot.query.NamedQueryDefinition.resolve.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Resolve the mapping definition into its run-time memento form
Inherited from org.hibernate.boot.spi.AbstractNamedQueryDefinition:
getCacheablegetCacheModegetCacheRegiongetCommentgetFetchSizegetFlushModegetHintsgetLockOptionsgetReadOnlygetRegistrationNamegetTimeout

Field Detail

firstResultback to summary
private final Integer firstResult
hqlStringback to summary
private final String hqlString
maxResultsback to summary
private final Integer maxResults
parameterTypesback to summary
private final Map<String, String> parameterTypes

Constructor Detail

NamedHqlQueryDefinitionImplback to summary
public NamedHqlQueryDefinitionImpl(String name, String hqlString, Integer firstResult, Integer maxResults, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, String> parameterTypes, Map<String, Object> hints)

Method Detail

getHqlStringback to summary
public String getHqlString()

Implements org.hibernate.boot.query.NamedHqlQueryDefinition.getHqlString.

Annotations
@Override
resolveback to summary
public NamedSqmQueryMemento resolve(SessionFactoryImplementor factory)

Implements org.hibernate.boot.query.NamedHqlQueryDefinition.resolve, org.hibernate.boot.query.NamedQueryDefinition.resolve.

Doc from org.hibernate.boot.query.NamedQueryDefinition.resolve.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Resolve the mapping definition into its run-time memento form

Annotations
@Override