class or interface in java.lang" class="external-link">Boolean</a>&gt;&nbsp;restriction)</span></div>
<div class="block">Modify the query to restrict the query result according
 to the specified boolean expression.
 Replaces the previously added restriction(s), if any.
 This method only overrides the return type of the 
 corresponding <code>AbstractQuery</code> method.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="AbstractQuery.html#where(jakarta.persistence.criteria.Expression)">where<