lass="blockList">
<li class="blockList">
<h4>getPersistenceUnitName</h4>
<pre class="methodSignature"><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;getPersistenceUnitName()</pre>
<div class="block">Returns the name of the persistence unit. Corresponds to the
 <code>name</code> attribute in the <code>persistence.xml</code> file.</div>
<dl>
<dt><span class="returnLabel">