org.hibernate.loader.custom
Class FetchReturn
- Return
public abstract class FetchReturn
Represents a return which names a fetched association.
FetchReturn
public FetchReturn(NonScalarReturn owner,
String ownerProperty,
String alias,
LockMode lockMode)
Creates a return descriptor for an association fetch.
owner
- The return descriptor for the owner of the fetchownerProperty
- The name of the property represernting the association being fetchedalias
- The alias for the fetchlockMode
- The lock mode to apply to the fetched association.
getOwner
public NonScalarReturn getOwner()
Retrieves the return descriptor for the owner of this fetch.
getOwnerProperty
public String getOwnerProperty()
The name of the property on the owner which represents this association.