https://github.com/datanucleus/test-jakarta
Template test for demonstrating issues with DataNucleus using the Jakarta Persistence API
https://github.com/datanucleus/test-jakarta
Last synced: about 2 months ago
JSON representation
Template test for demonstrating issues with DataNucleus using the Jakarta Persistence API
- Host: GitHub
- URL: https://github.com/datanucleus/test-jakarta
- Owner: datanucleus
- Created: 2021-06-01T13:36:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-02T13:05:55.000Z (almost 3 years ago)
- Last Synced: 2025-01-27T22:37:54.599Z (over 1 year ago)
- Language: Java
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
test-jakarta
============
Template project for any user testcase using Jakarta Persistence
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
* src/main/java/mydomain/model/ **[Put your model classes here]**
* src/main/resources/META-INF/persistence.xml **[Put your datastore details in here]**
* src/test/java/org/datanucleus/test/SimpleTest.java **[Edit this if a single-thread test is required]**
* src/test/java/org/datanucleus/test/MultithreadTest.java **[Edit this if a multi-thread test is required]**
To run this, simply type "mvn clean compile test"