title: Transaction-type for local postgres tool?
body: <p>I have a local application (no JEE server) that shall use postgres at the end.
  I'd like to chose <code>Hibernate</code> as my database framework. I'm now creating the <code>persistence.xml</code>, and wonder which transaction-type I should chose: JTA or RESOURCE_LOCAL, or none?</p>
  
  <p><code>&lt;persistence-unit name="travelport" transaction-type="JTA"&gt;</code></p>
  
  <p>Further I'd like to use the Hibernate EntityManager in my application. Can I have my application manage the transaction itself somehow (any framework)? Or do I always have to open, commit and close the transactions myself when not using an application server?</p>