</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the same query instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if the query is found not to be 
         a Jakarta Persistence query language SELECT query
         or a CriteriaQuery query</dd>
<dt><span class="simpleTagLabel">Since:</span></dt