I\'m using the Apache Derby embedded database for unit testing in a Maven project. Unfortunately whenever I run the test I end up with the derby.log file in the
derby.log
If you don't have access to the configuration, you can execute this before making the connection:
System.setProperty("derby.stream.error.field", "MyApp.DEV_NULL");