ionType.html" title="enum in jakarta.persistence.spi">PersistenceUnitTransactionType</a>&nbsp;getTransactionType()</pre>
<div class="block">Returns the transaction type of the entity managers created by
 the <code>EntityManagerFactory</code>. The transaction type corresponds to
 the <code>transaction-type</code> attribute in the <code>persistence.xml</code> file.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>transaction type of the entity managers created
 by the EntityManagerFactory</dd