lass="memberNameLink"><a href="../../../jakarta/persistence/criteria/Subquery.html#having-jakarta.persistence.criteria.Expression-">having</a></span>(<a href="../../../jakarta/persistence/criteria/Expression.html" title="interface in jakarta.persistence.criteria">Expression</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;restriction)</code>
<div class="block">Specify a restriction over the groups 