Top Fields Constructors Methods
org.hibernate.boot.internal

public Class NamedNativeQueryDefinitionImpl

extends AbstractNamedQueryDefinition
implements NamedNativeQueryDefinition
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.query.NamedNativeQueryDefinition, org.hibernate.boot.query.NamedQueryDefinition
Imports
java.util.Map, .Set, org.hibernate.CacheMode, .FlushMode, org.hibernate.boot.registry.classloading.spi.ClassLoaderService, org.hibernate.boot.spi.AbstractNamedQueryDefinition, org.hibernate.boot.query.NamedNativeQueryDefinition, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.query.sql.internal.NamedNativeQueryMementoImpl, org.hibernate.query.sql.spi.NamedNativeQueryMemento

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Integer
private final Integer
private final Set<String>
private final String
private final String
private final String

Constructor Summary

AccessConstructor and Description
public
NamedNativeQueryDefinitionImpl(String name, String sqlString, String resultSetMappingName, String resultSetMappingClassName, Set<String> querySpaces, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Integer firstResult, Integer maxResults, Map<String, Object> hints)

Method Summary

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

Implements org.hibernate.boot.query.NamedNativeQueryDefinition.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
maxResultsback to summary
private final Integer maxResults
querySpacesback to summary
private final Set<String> querySpaces
resultSetMappingClassNameback to summary
private final String resultSetMappingClassName
resultSetMappingNameback to summary
private final String resultSetMappingName
sqlStringback to summary
private final String sqlString

Constructor Detail

NamedNativeQueryDefinitionImplback to summary
public NamedNativeQueryDefinitionImpl(String name, String sqlString, String resultSetMappingName, String resultSetMappingClassName, Set<String> querySpaces, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Integer firstResult, Integer maxResults, Map<String, Object> hints)

Method Detail

getResultSetMappingClassNameback to summary
public String getResultSetMappingClassName()

Implements org.hibernate.boot.query.NamedNativeQueryDefinition.getResultSetMappingClassName.

Annotations
@Override
getResultSetMappingNameback to summary
public String getResultSetMappingName()

Implements org.hibernate.boot.query.NamedNativeQueryDefinition.getResultSetMappingName.

Annotations
@Override
getSqlQueryStringback to summary
public String getSqlQueryString()

Implements org.hibernate.boot.query.NamedNativeQueryDefinition.getSqlQueryString.

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

Implements org.hibernate.boot.query.NamedNativeQueryDefinition.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