Deepa Remesh <[EMAIL PROTECTED]> wrote:
> The tests in the harness use ij.startJBMS to get initial connections.
> The connection is obtained by using the properties specified in the
> <test>_app.properties file. ij.startJBMS method can also be used for
> any subsequent connections which use same properties.
> 
> For any subsequent connections which need to use another set of
> attributes (e.g, shutdown), TestUtil.getConnection method can be used.
> This method was recently added and now works for all frameworks. I
> have added a comment to DERBY-950
> (http://issues.apache.org/jira/browse/DERBY-950). Please look at that
> also to see if it helps.

Deepa, Thanks for the information about TestUtil.getConnection for
stopping the database and for getting new connections. Using this
instead for my own implementation based on DriverManager.getConnection
simplified the test code and also made the security exception go away.

..olav

Reply via email to