org.hibernate.engine
Class NamedQueryDefinition
java.lang.Object
org.hibernate.engine.NamedQueryDefinition
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- NamedSQLQueryDefinition
public class NamedQueryDefinition
- extends Object
- implements Serializable
Definition of a named query, defined in the mapping metadata.
- Author:
- Gavin King
- See Also:
- Serialized Form
Constructor Summary |
NamedQueryDefinition(String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes)
|
NamedQueryDefinition(String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
Map parameterTypes)
|
NamedQueryDefinition
public NamedQueryDefinition(String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
Map parameterTypes)
NamedQueryDefinition
public NamedQueryDefinition(String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes)
getQueryString
public String getQueryString()
isCacheable
public boolean isCacheable()
getCacheRegion
public String getCacheRegion()
getFetchSize
public Integer getFetchSize()
getTimeout
public Integer getTimeout()
getFlushMode
public FlushMode getFlushMode()
toString
public String toString()
- Overrides:
toString
in class Object
getParameterTypes
public Map getParameterTypes()
getQuery
public String getQuery()
getCacheMode
public CacheMode getCacheMode()
isReadOnly
public boolean isReadOnly()
getComment
public String getComment()