public class NativeSQLQueryJoinReturn extends NativeSQLQueryNonScalarReturn
NativeSQLQueryReturn.TraceLogger
Constructor and Description |
---|
NativeSQLQueryJoinReturn(String alias,
String ownerAlias,
String ownerProperty,
Map propertyResults,
LockMode lockMode)
Construct a return descriptor representing some form of fetch.
|
Modifier and Type | Method and Description |
---|---|
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() |
getAlias, getLockMode, getPropertyResultsMap, traceLog
public NativeSQLQueryJoinReturn(String alias, String ownerAlias, String ownerProperty, Map propertyResults, LockMode lockMode)
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 applypublic String getOwnerAlias()
public String getOwnerProperty()
public boolean equals(Object o)
equals
in class NativeSQLQueryNonScalarReturn
public int hashCode()
hashCode
in class NativeSQLQueryNonScalarReturn
Copyright © 2021 JBoss by Red Hat. All rights reserved.