JPA Method
in jakarta.persistence.criteria.From

Join<X,Y> join(
  Class<Y> entityClass, 
  JoinType joinType
)


Create and add a join to the given entity.
Parameters:
entityClass - the target entity class
joinType - join type
Return:
the resulting join
Since:
JPA 3.2