JPA Methodin javax.persistence.criteria.JoinPredicate getOn() Return the predicate that corresponds to the ON restriction(s) on the join, or null if no ON condition has been specified. Return: the ON restriction predicateSince:JPA 2.1