ObjectDB ObjectDB

join(attributeName, jt) - JPA From's method

Method
javax.persistence.criteria.From
Join<X,Y> join(
  String attributeName,
  JoinType jt
)

Create a join to the specified attribute using the given join type.
Parameters:
attributeName - name of the attribute for the target of the join
jt - join type
Returns:
the resulting join
Throws:
IllegalArgumentException - if attribute of the given name does not exist
Since:
JPA 2.0