Mega Code Archive

 
Categories / Java Tutorial / Database
 

Viewing and Switching Connections

Show Connections command lists the active connections established with JavaDB. You can then use the Set connection command to switch to a different connection. To view and switch between connections: show connections; The asterisk that appears next to a connection name indicates that this is the current connection. Switch to the Connection0 connection by executing the following command: set connection Connection0;