Interface Expressions.Fetcher<T>

Enclosing class:
Expressions

public static interface Expressions.Fetcher<T>
Strategy interface used by Expressions.fetch(From, PropertyReference) to obtain fetch joins using property references.

Implementations adapt a From and expose typed fetch methods accepting PropertyReference instances to avoid string-based attribute navigation.

Since:
4.1
Author:
Mark Paluch
  • Method Summary

    Modifier and Type
    Method
    Description
    <P> jakarta.persistence.criteria.Fetch<T,P>
    fetch(PropertyReference<T,P> property)
    Create a fetch join for the given property.
  • Method Details

    • fetch

      <P> jakarta.persistence.criteria.Fetch<T,P> fetch(PropertyReference<T,P> property)
      Create a fetch join for the given property.
      Parameters:
      property - the property to join.
      See Also:
      • FetchParent.fetch(SingularAttribute)