I want to create a Java standalone Java application that will use the Apache Derby Embedded DB.
I want to use JPA since I\'m quite familiar with it and probably ove
If you are using Maven for your build, you can use the derby-maven-plugin, which I wrote and is available on GitHub and via Maven Central. It will take care of starting and stopping the database for you before your tests.
You can check: