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>
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
Modifier and TypeMethodDescriptionaddColumnAlias(String columnAlias) Add a column alias to this property mapping.
-
Method Details
-
addColumnAlias
Add a column alias to this property mapping.- Parameters:
columnAlias- The column alias.- Returns:
this, for method chaining
-