JPA Method
in jakarta.persistence.criteria.From

Join<X,Y> join(
  EntityType<Y> entity, 
  JoinType joinType
)


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