Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
816c169
commit 3c312d0
Showing
1 changed file
with
1 addition
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
test-jpa | ||
======== | ||
|
||
Template project for any user testcase using JPA. | ||
To create a DataNucleus test simply fork this project, and add/edit as necessary to add your model and persistence commands. | ||
The files that you'll likely need to edit are | ||
|
||
* <a href="https://github.com/datanucleus/test-jpa/tree/master/src/main/java/mydomain/model">src/main/java/mydomain/model/</a> **[Put your model classes here]** | ||
* <a href="https://github.com/datanucleus/test-jpa/blob/master/src/main/resources/META-INF/persistence.xml">src/main/resources/META-INF/persistence.xml</a> **[Put your datastore details in here]** | ||
* <a href="https://github.com/datanucleus/test-jpa/blob/master/src/test/java/org/datanucleus/test/SimpleTest.java">src/test/java/org/datanucleus/test/SimpleTest.java</a> **[Edit this if a single-thread test is required]** | ||
* <a href="https://github.com/datanucleus/test-jpa/blob/master/src/test/java/org/datanucleus/test/MultithreadTest.java">src/test/java/org/datanucleus/test/MultithreadTest.java</a> **[Edit this if a multi-thread test is required]** | ||
|
||
To run this, simply type "mvn clean compile test" | ||
Top-level project for tests for DataNucleus with JPA API. |