Skip to content
Permalink
Browse files
BATCHEE-24 add a sample persistence.xml to our zip
  • Loading branch information
struberg committed Apr 1, 2014
1 parent 5012f76 commit c93629f87d1251c657231a0bd99558059fee37b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
@@ -31,6 +31,10 @@ under the License.
<file>
<source>src/main/resources/META-INF/LICENSE</source>
</file>
<file>
<source>src/test/resources/META-INF/persistence-createdb.xml</source>
<destName>persistence.xml</destName>
</file>
</files>

<fileSets>
@@ -23,6 +23,10 @@
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">

<persistence-unit name="batchee" transaction-type="RESOURCE_LOCAL">
<!-- can be empty, we just need this to make the openjpa SQL generator happy -->
<!-- This persistence unit is an example of how you could use batchee via JPA -->
<class>org.apache.batchee.container.services.persistence.jpa.domain.CheckpointEntity</class>
<class>org.apache.batchee.container.services.persistence.jpa.domain.JobExecutionEntity</class>
<class>org.apache.batchee.container.services.persistence.jpa.domain.JobInstanceEntity</class>
<class>org.apache.batchee.container.services.persistence.jpa.domain.StepExecutionEntity</class>
</persistence-unit>
</persistence>

0 comments on commit c93629f

Please sign in to comment.