public class NativeSQLQueryRootReturn extends NativeSQLQueryNonScalarReturn
NativeSQLQueryReturn.TraceLogger| Constructor and Description |
|---|
NativeSQLQueryRootReturn(String alias,
String entityName,
LockMode lockMode)
Construct a return representing an entity returned at the root
of the result.
|
NativeSQLQueryRootReturn(String alias,
String entityName,
Map<String,String[]> propertyResults,
LockMode lockMode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getReturnEntityName()
The name of the entity to be returned.
|
int |
hashCode() |
getAlias, getLockMode, getPropertyResultsMap, traceLogpublic NativeSQLQueryRootReturn(String alias, String entityName, LockMode lockMode)
alias - The result aliasentityName - The entity name.lockMode - The lock mode to applypublic NativeSQLQueryRootReturn(String alias, String entityName, Map<String,String[]> propertyResults, LockMode lockMode)
alias - The result aliasentityName - The entity name.propertyResults - Any user-supplied column->property mappingslockMode - The lock mode to applypublic String getReturnEntityName()
public boolean equals(Object o)
equals in class NativeSQLQueryNonScalarReturnpublic int hashCode()
hashCode in class NativeSQLQueryNonScalarReturnCopyright © 2001-2021 Red Hat, Inc. All Rights Reserved.