Jakarta Persistence (JPA) Method
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
- Returns:
- the resulting join.
- Since:
- Jakarta Persistence (JPA) 3.2