public static interface SQLQuery.RootReturn
Modifier and Type | Method and Description |
---|---|
SQLQuery.ReturnProperty |
addProperty(java.lang.String propertyName)
Add a property, presumably with more than one column.
|
SQLQuery.RootReturn |
addProperty(java.lang.String propertyName,
java.lang.String columnAlias)
Add a simple property-to-one-column mapping.
|
SQLQuery.RootReturn |
setDiscriminatorAlias(java.lang.String columnAlias)
Name the column alias that identifies the entity's discriminator.
|
SQLQuery.RootReturn |
setLockMode(LockMode lockMode)
Set the lock mode for this return.
|
SQLQuery.RootReturn setLockMode(LockMode lockMode)
lockMode
- The new lock mode.this
, for method chainingSQLQuery.RootReturn setDiscriminatorAlias(java.lang.String columnAlias)
columnAlias
- The discriminator column aliasthis
, for method chainingSQLQuery.RootReturn 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.