public static interface SQLQuery.FetchReturn
Modifier and Type | Method and Description |
---|---|
SQLQuery.ReturnProperty |
addProperty(String propertyName)
Add a property, presumably with more than one column.
|
SQLQuery.FetchReturn |
addProperty(String propertyName,
String columnAlias)
Add a simple property-to-one-column mapping.
|
SQLQuery.FetchReturn |
setLockMode(LockMode lockMode)
Set the lock mode for this return.
|
SQLQuery.FetchReturn setLockMode(LockMode lockMode)
lockMode
- The new lock mode.this
, for method chainingSQLQuery.FetchReturn addProperty(String propertyName, String columnAlias)
propertyName
- The name of the property.columnAlias
- The name of the columnthis
, for method chainingSQLQuery.ReturnProperty addProperty(String propertyName)
propertyName
- The name of the property.Copyright © 2017 JBoss by Red Hat. All rights reserved.