Jakarta Persistence (JPA) Method

Join<X,V> treat(
  Join<X,T> join,
  Class<V> type
)


Downcast Join object to the specified type.
Parameters:
join - Join object
type - type to be downcast to
Returns:
Join object of the specified type.
Since:
Jakarta Persistence (JPA) 2.1