When we have 2 connections open to a db, how can we switch between connections and make the connection we require as active connection. I am trying to convert the following segment to JUnit. Is there any equivalent method of set connection described below?

Hi Jayaram,

Have a look at GrantRevokeDDLTest.java, which has a number of examples
of JUnit test cases which switch back and forth between connections.

thanks,

bryan

Reply via email to