JPA Method
in javax.persistence.criteria.MapJoin

MapJoin<Z,K,V> on(
  Expression<Boolean> restriction
)


Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any.
Parameters:
restriction - a simple or compound boolean expression
Return:
the modified join object
Since:
JPA 2.1