org.hibernate.engine.query.sql
Class NativeSQLQueryJoinReturn
java.lang.Object
org.hibernate.engine.query.sql.NativeSQLQueryNonScalarReturn
org.hibernate.engine.query.sql.NativeSQLQueryJoinReturn
- All Implemented Interfaces:
- java.io.Serializable, NativeSQLQueryReturn
public class NativeSQLQueryJoinReturn
- extends NativeSQLQueryNonScalarReturn
Represents a return defined as part of a native sql query which
names a fetched role.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Constructor Summary |
NativeSQLQueryJoinReturn(java.lang.String alias,
java.lang.String ownerAlias,
java.lang.String ownerProperty,
java.util.Map propertyResults,
LockMode lockMode)
Construct a return descriptor representing some form of fetch. |
Method Summary |
java.lang.String |
getOwnerAlias()
Retrieve the alias of the owner of this fetched association. |
java.lang.String |
getOwnerProperty()
Retrieve the property name (relative to the owner) which maps to
the association to be fetched. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativeSQLQueryJoinReturn
public NativeSQLQueryJoinReturn(java.lang.String alias,
java.lang.String ownerAlias,
java.lang.String ownerProperty,
java.util.Map propertyResults,
LockMode lockMode)
- Construct a return descriptor representing some form of fetch.
- Parameters:
alias
- The result aliasownerAlias
- The owner's result aliasownerProperty
- The owner's property representing the thing to be fetchedpropertyResults
- Any user-supplied column->property mappingslockMode
- The lock mode to apply
getOwnerAlias
public java.lang.String getOwnerAlias()
- Retrieve the alias of the owner of this fetched association.
- Returns:
- The owner's alias.
getOwnerProperty
public java.lang.String getOwnerProperty()
- Retrieve the property name (relative to the owner) which maps to
the association to be fetched.
- Returns:
- The property name.
Copyright © 2008 Hibernate.org. All Rights Reserved.