To start ij by using a properties file called
ij.properties,
use a command like the following (with the addition of the file paths):
java -jar derbyrun.jar -p ij.properties
To start ij with two named
connections, using the
ij.connection.connectionName property,
use a command like the following (all on one line):
java -Dij.connection.sample=jdbc:derby:sample
-Dij.connection.History=jdbc:derby:History
-Dderby.system.home=c:\derby\demo\databases
-jar c:\derby\lib\derbyrun.jar
To see a list of connection names and
the URLs used to connect to them, use the following command. (If there is
a connection that is currently active, it will show up with an * after its
name.)
ij version 10.6
ij(HISTORY)> show connections;
HISTORY* - jdbc:derby:History
SAMPLE - jdbc:derby:sample
* = current connection
ij(HISTORY)>