cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugi Thordarson <h...@karlmenn.is>
Subject Re: Changing database connection programmatically
Date Fri, 22 Jan 2016 18:50:08 GMT
Ah, sorry about that… I’m using the current 4.0 snapshots.

- hugi



> On 22. jan. 2016, at 18:47, Michael Gentry <mgentry@masslight.net> wrote:
> 
> Which version of Cayenne are you using?
> 
> 
> On Fri, Jan 22, 2016 at 1:25 PM, Hugi Thordarson <hugi@karlmenn.is> wrote:
> 
>> 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


Mime
View raw message