Package org.hibernate

Interface SQLQuery.ReturnProperty

  • Enclosing interface:
    SQLQuery<T>

    public static interface SQLQuery.ReturnProperty
    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 Detail

      • addColumnAlias

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