Daniel John Debrunner wrote:
I just added a utility method
JDBCDataSource.getDataSource(String dbName)
to obtain a connection to a different database, eg.
ds = JDBCDataSource.getDataSource("otherdb");
conn = ds.getConnection();
Thanks, Dan.
With a test that needs concurrent multiple open databases some thought
on the setup is needed to ensure the extra databases are created
and/or cleaned and shutdown at the end of the test. If multiple tests
simply created their own databases and left them lying around then it
would cause issues eventually.
How this should by done?
Would it be possible to create a test which passes some attributes to
JDBC connection? I have not found anything related to this.
Cheers
Julo