i class="blockList"><a id="unitName()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>unitName</h4>
<pre><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;unitName</pre>
<div class="block">(Optional) The name of the persistence unit as defined in the
 <code>persistence.xml</code> file. If specified, the
 persistence unit for the entity manager facto