Package org.hibernate.query
Interface NativeQuery.ReturnProperty
-
- All Superinterfaces:
NativeQuery.ResultNode
- All Known Subinterfaces:
DynamicFetchBuilder
- All Known Implementing Classes:
DynamicFetchBuilderLegacy,DynamicFetchBuilderStandard,DynamicResultBuilderAttribute
- Enclosing interface:
- NativeQuery<T>
public static interface NativeQuery.ReturnProperty extends NativeQuery.ResultNode
Allows access to further control how properties within a root or join fetch are mapped back from the result set. Generally used in composite value scenarios.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NativeQuery.ReturnPropertyaddColumnAlias(String columnAlias)Add a column alias to this property mapping.
-
-
-
Method Detail
-
addColumnAlias
NativeQuery.ReturnProperty addColumnAlias(String columnAlias)
Add a column alias to this property mapping.- Parameters:
columnAlias- The column alias.- Returns:
this, for method chaining
-
-