org.hibernate.loader.custom
Class SQLQueryRootReturn

java.lang.Object
  extended byorg.hibernate.loader.custom.SQLQueryReturn
      extended byorg.hibernate.loader.custom.SQLQueryRootReturn
All Implemented Interfaces:
Serializable

public class SQLQueryRootReturn
extends SQLQueryReturn

Represents a return defined as part of a native sql query which names a "root" entity. A root entity means it is explicitly a "column" in the result, as opposed to a fetched relationship or role.

Author:
Steve
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hibernate.loader.custom.SQLQueryReturn
propertyResults
 
Constructor Summary
SQLQueryRootReturn(String alias, String returnEntityName, LockMode lockMode)
           
SQLQueryRootReturn(String alias, String entityName, Map propertyResults, LockMode lockMode)
           
 
Method Summary
 String getReturnEntityName()
           
 
Methods inherited from class org.hibernate.loader.custom.SQLQueryReturn
getAlias, getLockMode, getPropertyResultsMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLQueryRootReturn

public SQLQueryRootReturn(String alias,
                          String returnEntityName,
                          LockMode lockMode)

SQLQueryRootReturn

public SQLQueryRootReturn(String alias,
                          String entityName,
                          Map propertyResults,
                          LockMode lockMode)
Method Detail

getReturnEntityName

public String getReturnEntityName()