public static interface SQLQuery.FetchReturn
Modifier and Type | Method and Description |
---|---|
SQLQuery.ReturnProperty |
addProperty(java.lang.String propertyName)
Add a property, presumably with more than one column.
|
SQLQuery.FetchReturn |
addProperty(java.lang.String propertyName,
java.lang.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(java.lang.String propertyName, java.lang.String columnAlias)
propertyName
- The name of the property.columnAlias
- The name of the columnthis
, for method chainingSQLQuery.ReturnProperty addProperty(java.lang.String propertyName)
propertyName
- The name of the property.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.