Join<X,Y> join(
Class<Y> entityClass,
JoinType joinType
)
Create and add a join to the given entity.
- Parameters:
entityClass- the target entity classjoinType- join type
- Return:
- the resulting join
- Since:
- JPA 3.2