cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Savva Kolbachev <s.kolbac...@gmail.com>
Subject Re: Changing database connection programmatically
Date Fri, 22 Jan 2016 18:54:20 GMT
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 <hugi@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message