| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface SQLQuery.RootReturn
Allows access to further control how root returns are mapped back from result sets
| Method Summary | |
|---|---|
|  SQLQuery.ReturnProperty | addProperty(String propertyName)Add a property, presumably with more than one column. | 
|  SQLQuery.RootReturn | addProperty(String propertyName,
            String columnAlias)Add a simple property-to-one-column mapping | 
|  SQLQuery.RootReturn | setDiscriminatorAlias(String columnAlias)Name the column alias that identifies the entity's discriminator | 
|  SQLQuery.RootReturn | setLockMode(LockMode lockMode)Set the lock mode for this return | 
| Method Detail | 
|---|
SQLQuery.RootReturn setLockMode(LockMode lockMode)
lockMode - The new lock mode.
this, for method chainingSQLQuery.RootReturn setDiscriminatorAlias(String columnAlias)
columnAlias - The discriminator column alias
this, for method chaining
SQLQuery.RootReturn addProperty(String propertyName,
                                String columnAlias)
propertyName - The name of the property.columnAlias - The name of the column
this, for method chainingSQLQuery.ReturnProperty addProperty(String propertyName)
propertyName - The name of the property.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||