Jakarta Persistence (JPA) Method

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


Create and add an inner join to the given entity.
Parameters:
entityClass - the target entity class
Returns:
the resulting join.
Since:
Jakarta Persistence (JPA) 3.2