FileDocCategorySizeDatePackage
NativeSQLQueryJoinReturn.javaAPI DocHibernate 3.2.51526Thu Jun 15 00:21:06 BST 2006org.hibernate.engine.query.sql

NativeSQLQueryJoinReturn

public class NativeSQLQueryJoinReturn extends NativeSQLQueryNonScalarReturn
Represents a return defined as part of a native sql query which names a fetched role.
author
Steve Ebersole

Fields Summary
private String
ownerAlias
private String
ownerProperty
Constructors Summary
public NativeSQLQueryJoinReturn(String alias, String ownerAlias, String ownerProperty, Map propertyResults, org.hibernate.LockMode lockMode)
Construct a return descriptor representing some form of fetch.

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

		super( alias, propertyResults, lockMode );
		this.ownerAlias = ownerAlias;
		this.ownerProperty = ownerProperty;
	
Methods Summary
public java.lang.StringgetOwnerAlias()
Retrieve the alias of the owner of this fetched association.

return
The owner's alias.

		return ownerAlias;
	
public java.lang.StringgetOwnerProperty()
Retrieve the property name (relative to the owner) which maps to the association to be fetched.

return
The property name.

		return ownerProperty;