st">
<h4>getSingleResult</h4>
<pre><a href="../../jakarta/persistence/TypedQuery.html" title="type parameter in TypedQuery">X</a>&nbsp;getSingleResult()</pre>
<div class="block">Execute a SELECT query that returns a single result.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../jakarta/persistence/Query.html#getSingleResult--">getSingleResult</a></code>&nbsp;in interface&nbsp;<code><a href="../../jakarta/persistence/Query.html" title="interface in jakarta