title: persistence.xml different transaction-type attributes
body: <p>In the persistence.xml JPA configuration file, you can have a line like:</p>
  
  <pre><code>&lt;persistence-unit name="com.nz_war_1.0-SNAPSHOTPU" transaction-type="JTA"&gt;
  </code></pre>
  
  <p>or sometimes:</p>
  
  <pre><code>&lt;persistence-unit name="com.nz_war_1.0-SNAPSHOTPU" transaction-type=”RESOURCE_LOCAL”&gt;
  </code></pre>
  
  <p><strong>My question is:</strong> </p>
  
  <p>What is the difference between <code>transaction-type="JTA"</code> and <code>transaction-type=”RESOURCE_LOCAL”</code> ?</p>
  
  <p>I also noticed some persistence.xml files with the transaction-type missing. Is it correct?</p>