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, traceLog
public 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 NativeSQLQueryNonScalarReturn
public int hashCode()
hashCode
in class NativeSQLQueryNonScalarReturn
Copyright © 2021 JBoss by Red Hat. All rights reserved.