THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Run --> Debug Configurations... Create a new JUnit configuration
- For the Test tab - Give the configuration a Name, select a Project and Test class, and you'll probably want to select the "Keep JUnit running..." option.
- For the Arguments tab - Press the Variables... button. This will allow us to define variables that can be shared across other Release/Debug Configurations within this workspace.
- For the Select Variable window - Press the Edit Variables... button.
- For the Preferences windows - Press New... to add two variables.
Code Block Name = openjpa.trace Value = -Dopenjpa.Log=DefaultLevel=TRACE Description = Set OpenJPA logging to TRACE
Code Block Name = connect.derby Value = -Dopenjpa.ConnectionDriverName=org.apache.derby.jdbc.EmbeddedDriver -Dopenjpa.ConnectionURL=jdbc:derby:target/database/openjpa-derby-database;create=true Description = Connection properties for Derby
- After the above are created and saved, add the new variables as VM Arguments.
Code Block ${openjpa.trace} ${connect.derby}