Package org.hibernate
Interface SQLQuery.RootReturn
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setLockMode
SQLQuery.RootReturn setLockMode(LockMode lockMode)
Set the lock mode for this return.- Parameters:
lockMode
- The new lock mode.- Returns:
this
, for method chaining
-
setDiscriminatorAlias
SQLQuery.RootReturn setDiscriminatorAlias(java.lang.String columnAlias)
Name the column alias that identifies the entity's discriminator.- Parameters:
columnAlias
- The discriminator column alias- Returns:
this
, for method chaining
-
addProperty
SQLQuery.RootReturn addProperty(java.lang.String propertyName, java.lang.String columnAlias)
Add a simple property-to-one-column mapping.- Parameters:
propertyName
- The name of the property.columnAlias
- The name of the column- Returns:
this
, for method chaining
-
addProperty
SQLQuery.ReturnProperty addProperty(java.lang.String propertyName)
Add a property, presumably with more than one column.- Parameters:
propertyName
- The name of the property.- Returns:
- The config object for further control.
-
-