org.hibernate.engine
Class NamedSQLQueryDefinition

java.lang.Object
  extended byorg.hibernate.engine.NamedQueryDefinition
      extended byorg.hibernate.engine.NamedSQLQueryDefinition
All Implemented Interfaces:
Serializable

public class NamedSQLQueryDefinition
extends NamedQueryDefinition

Definition of a named native SQL query, defined in the mapping metadata.

Author:
Max Andersen
See Also:
Serialized Form

Constructor Summary
NamedSQLQueryDefinition(String query, SQLQueryReturn[] queryReturns, SQLQueryScalarReturn[] scalarReturns, List querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes, boolean callable)
           
NamedSQLQueryDefinition(String query, SQLQueryReturn[] queryReturns, SQLQueryScalarReturn[] scalarReturns, List querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, Map parameterTypes, boolean callable)
          backward compatibility: to be removed after HA 3.2beta5
NamedSQLQueryDefinition(String query, String resultSetRef, List querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes, boolean callable)
           
NamedSQLQueryDefinition(String query, String resultSetRef, List querySpaces, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, Map parameterTypes, boolean callable)
           
 
Method Summary
 SQLQueryReturn[] getQueryReturns()
           
 List getQuerySpaces()
           
 String getResultSetRef()
           
 SQLQueryScalarReturn[] getScalarQueryReturns()
           
 boolean isCallable()
           
 
Methods inherited from class org.hibernate.engine.NamedQueryDefinition
getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getParameterTypes, getQuery, getQueryString, getTimeout, isCacheable, isReadOnly, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedSQLQueryDefinition

public NamedSQLQueryDefinition(String query,
                               SQLQueryReturn[] queryReturns,
                               SQLQueryScalarReturn[] scalarReturns,
                               List querySpaces,
                               boolean cacheable,
                               String cacheRegion,
                               Integer timeout,
                               Integer fetchSize,
                               FlushMode flushMode,
                               Map parameterTypes,
                               boolean callable)
backward compatibility: to be removed after HA 3.2beta5


NamedSQLQueryDefinition

public NamedSQLQueryDefinition(String query,
                               SQLQueryReturn[] queryReturns,
                               SQLQueryScalarReturn[] scalarReturns,
                               List querySpaces,
                               boolean cacheable,
                               String cacheRegion,
                               Integer timeout,
                               Integer fetchSize,
                               FlushMode flushMode,
                               CacheMode cacheMode,
                               boolean readOnly,
                               String comment,
                               Map parameterTypes,
                               boolean callable)

NamedSQLQueryDefinition

public NamedSQLQueryDefinition(String query,
                               String resultSetRef,
                               List querySpaces,
                               boolean cacheable,
                               String cacheRegion,
                               Integer timeout,
                               Integer fetchSize,
                               FlushMode flushMode,
                               Map parameterTypes,
                               boolean callable)

NamedSQLQueryDefinition

public NamedSQLQueryDefinition(String query,
                               String resultSetRef,
                               List querySpaces,
                               boolean cacheable,
                               String cacheRegion,
                               Integer timeout,
                               Integer fetchSize,
                               FlushMode flushMode,
                               CacheMode cacheMode,
                               boolean readOnly,
                               String comment,
                               Map parameterTypes,
                               boolean callable)
Method Detail

getQueryReturns

public SQLQueryReturn[] getQueryReturns()

getScalarQueryReturns

public SQLQueryScalarReturn[] getScalarQueryReturns()

getQuerySpaces

public List getQuerySpaces()

isCallable

public boolean isCallable()

getResultSetRef

public String getResultSetRef()