db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oystein.Grov...@sun.com (Øystein Grøvlen)
Subject Use of DriverManager in tests
Date Thu, 02 Jun 2005 11:42:32 GMT

When developing a test for Derby-230, I was made aware of that we
should not use the DriverManager directly, but instead use
startJBMS().  However, I see some test (e.g.,
store/backupRestore1.java) that uses the DriverManager when shutting
down the database and when doing restore.  I am currently working on a
test for Derby-298 that needs to do the same.  Is it OK to do it this
way?   What restriction does it impose on which environment the test
can be run in? 


View raw message