a href="../../../jakarta/persistence/criteria/Subquery.html" title="interface in jakarta.persistence.criteria">Subquery</a>&lt;<a href="../../../jakarta/persistence/criteria/Subquery.html" title="type parameter in Subquery">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../jakarta/persistence/criteria/Subquery.html#distinct-boolean-">distinct</a></span>(boolean&nbsp;distinct)</code>
<div class="block">Specify whether duplicate query results will be eliminated.</d