cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugi Thordarson <>
Subject Changing database connection programmatically
Date Fri, 22 Jan 2016 18:25:43 GMT
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?

- hugi
View raw message