Class NativeSQLQueryJoinReturn
- java.lang.Object
-
- org.hibernate.engine.query.spi.sql.NativeSQLQueryNonScalarReturn
-
- org.hibernate.engine.query.spi.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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.engine.query.spi.sql.NativeSQLQueryReturn
NativeSQLQueryReturn.TraceLogger
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetOwnerAlias()Retrieve the alias of the owner of this fetched association.java.lang.StringgetOwnerProperty()Retrieve the property name (relative to the owner) which maps to the association to be fetched.inthashCode()-
Methods inherited from class org.hibernate.engine.query.spi.sql.NativeSQLQueryNonScalarReturn
getAlias, getLockMode, getPropertyResultsMap, traceLog
-
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
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.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classNativeSQLQueryNonScalarReturn
-
hashCode
public int hashCode()
- Overrides:
hashCodein classNativeSQLQueryNonScalarReturn
-
-