Top Description Inners Methods
org.hibernate.query.named

public Interface NamedQueryMemento

Known Direct Subinterfaces
org.hibernate.query.sql.spi.NamedNativeQueryMemento, org.hibernate.query.sqm.spi.NamedSqmQueryMemento, org.hibernate.procedure.spi.NamedCallableQueryMemento
Known Direct Implementers
org.hibernate.query.named.AbstractNamedQueryMemento
Imports
java.util.Map, org.hibernate.CacheMode, .FlushMode, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.query.spi.QueryEngine, .QueryImplementor, .QueryParameterImplementor

The runtime representation of named queries. They are stored in and available through the QueryEngine's NamedObjectRepository. This is the base contract for all specific types of named query mementos
Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Method Summary

Modifier and TypeMethod and Description
public Boolean
public CacheMode
public String
public String
public Integer
public FlushMode
public Map<String, Object>
public Boolean
public String
getRegistrationName()

The name under which the query is registered

public Integer
public NamedQueryMemento
makeCopy(String name)

Makes a copy of the memento using the specified registration name

public <T> QueryImplementor<T>
public <T> QueryImplementor<T>
public void
validate(QueryEngine queryEngine)

Method Detail

getCacheableback to summary
public Boolean getCacheable()
getCacheModeback to summary
public CacheMode getCacheMode()
getCacheRegionback to summary
public String getCacheRegion()
getCommentback to summary
public String getComment()
getFetchSizeback to summary
public Integer getFetchSize()
getFlushModeback to summary
public FlushMode getFlushMode()
getHintsback to summary
public Map<String, Object> getHints()
getReadOnlyback to summary
public Boolean getReadOnly()
getRegistrationNameback to summary
public String getRegistrationName()

The name under which the query is registered

getTimeoutback to summary
public Integer getTimeout()
makeCopyback to summary
public NamedQueryMemento makeCopy(String name)

Makes a copy of the memento using the specified registration name

toQueryback to summary
public <T> QueryImplementor<T> toQuery(SharedSessionContractImplementor session)
toQueryback to summary
public <T> QueryImplementor<T> toQuery(SharedSessionContractImplementor session, Class<T> javaType)
validateback to summary
public void validate(QueryEngine queryEngine)
org.hibernate.query.named back to summary

public Interface NamedQueryMemento.ParameterMemento

Known Direct Subinterfaces
org.hibernate.procedure.spi.NamedCallableQueryMemento.ParameterMemento

Method Summary

Modifier and TypeMethod and Description
public QueryParameterImplementor<T>

Method Detail

resolveback to summary
public QueryParameterImplementor<T> resolve(SharedSessionContractImplementor session)