Here is one example of using SimpleJNDI to bind to a local H2 DB for
testing (assuming your normal application uses JNDI):

The example is still on Cayenne 3.0.2, but hopefully that'll help.


On Tue, Oct 18, 2016 at 12:26 PM, Hugi Thordarson <> wrote:

> Hi all,
> when running tests I need to switch the DB adapter to H2Adapter (my
> DataNode has a Customer adaptor). How would this be easiest to do?
> Cheers,
> - hugi

Reply via email to