acle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;Y&gt;&nbsp;entityClass,
 <a href="../JoinType.html" title="enum class in jakarta.persistence.criteria">JoinType</a>&nbsp;joinType)</code></div>
<div class="col-last odd-row-color">
<div class="block">Create and add a join to the given entity.</div>
</div>
<div class="col-first even-row-color"><code>&lt;X,<wbr>
Y&gt;&nbsp;<a href="../Join.html" title="interface in jak