NativeSQLQueryRootReturnpublic class NativeSQLQueryRootReturn extends NativeSQLQueryNonScalarReturn 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. |
Fields Summary |
---|
private String | returnEntityName |
Constructors Summary |
---|
public NativeSQLQueryRootReturn(String alias, String entityName, org.hibernate.LockMode lockMode)Construct a return representing an entity returned at the root
of the result.
this(alias, entityName, null, lockMode);
| public NativeSQLQueryRootReturn(String alias, String entityName, Map propertyResults, org.hibernate.LockMode lockMode)
super( alias, propertyResults, lockMode );
this.returnEntityName = entityName;
|
Methods Summary |
---|
public java.lang.String | getReturnEntityName()The name of the entity to be returned.
return returnEntityName;
|
|