span class="returnLabel">Returns:</span></dt>
<dd>entity manager instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalStateException</a></code> - if the entity manager factory
 has been configured for resource-local entity managers or is closed</dd>
<dt><span class="simpleTagLabel">Since:</span></