Hi Hugi, I think you want to add some VM options. Take a look at https://cayenne.apache.org/dev/running-unit-tests.html
2016-01-22 21:25 GMT+03:00 Hugi Thordarson <h...@karlmenn.is>: > Hi all, > > I’m writing some tests for my DataObjects. Before the tests run, I’d like > to provision an h2 database and switch my model’s connection to it for the > purpose of testing. > > What’s the preferred way to switch the connection programmatically? > > Cheers, > - hugi -- Thanks and Regards Savva Kolbachev