org.hibernate.engine.spi
Class NamedQueryDefinition
java.lang.Object
org.hibernate.engine.spi.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.
- See Also:
- Serialized Form
Constructor Summary |
NamedQueryDefinition(String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
Map parameterTypes)
|
NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes)
|
NamedQueryDefinition
public NamedQueryDefinition(String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
Map parameterTypes)
NamedQueryDefinition
public NamedQueryDefinition(String name,
String query,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes)
getName
public String getName()
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()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.