public class

NativeSQLQueryJoinReturn

extends NativeSQLQueryNonScalarReturn
java.lang.Object
   ↳ org.hibernate.engine.query.sql.NativeSQLQueryNonScalarReturn
     ↳ org.hibernate.engine.query.sql.NativeSQLQueryJoinReturn

Class Overview

Represents a return defined as part of a native sql query which names a fetched role.

Summary

Public Constructors
NativeSQLQueryJoinReturn(String alias, String ownerAlias, String ownerProperty, Map propertyResults, LockMode lockMode)
Construct a return descriptor representing some form of fetch.
Public Methods
boolean equals(Object o)
String getOwnerAlias()
Retrieve the alias of the owner of this fetched association.
String getOwnerProperty()
Retrieve the property name (relative to the owner) which maps to the association to be fetched.
int hashCode()
[Expand]
Inherited Methods
From class org.hibernate.engine.query.sql.NativeSQLQueryNonScalarReturn
From class java.lang.Object

Public Constructors

public NativeSQLQueryJoinReturn (String alias, String ownerAlias, String ownerProperty, Map propertyResults, LockMode lockMode)

Construct a return descriptor representing some form of fetch.

Parameters
alias The result alias
ownerAlias The owner's result alias
ownerProperty The owner's property representing the thing to be fetched
propertyResults Any user-supplied column->property mappings
lockMode The lock mode to apply

Public Methods

public boolean equals (Object o)

public String getOwnerAlias ()

Retrieve the alias of the owner of this fetched association.

Returns
  • The owner's alias.

public String getOwnerProperty ()

Retrieve the property name (relative to the owner) which maps to the association to be fetched.

Returns
  • The property name.

public int hashCode ()