Skip to content

Instantly share code, notes, and snippets.

@scottmarlow
Created September 18, 2013 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottmarlow/6608533 to your computer and use it in GitHub Desktop.
Save scottmarlow/6608533 to your computer and use it in GitHub Desktop.
example persistence.xml for batch processing
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
<persistence-unit name="chunkNonpartitionedAZTT4443334">
<description>Persistence Unit.</description>
<jta-data-source>java:jboss/datasources/AZTT4443334DS</jta-data-source>
</persistence-unit>
<persistence-unit name="chunkpartitionedAZTT4443334">
<description>Persistence Unit.</description>
<jta-data-source>java:jboss/datasources/AZTT4443334DS</jta-data-source>
</persistence-unit>
</persistence>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment