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 Details

    • addColumnAlias

      NativeQuery.ReturnProperty addColumnAlias(String columnAlias)
      Add a column alias to this property mapping.
      Parameters:
      columnAlias - The column alias.
      Returns:
      this, for method chaining