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 targetjoinType
- join type
- Return:
- the resulting join
- Since:
- JPA 3.2