You set ij properties in any of the following ways:
The following examples illustrate how to use ij properties:
java org.apache.derby.tools.ij -p ij.properties
java -Dij.maximumDisplayWidth=1000 org.apache.derby.tools.ij
java -Dij.protocol=jdbc:derby: -Dij.database=sample org.apache.derby.tools.ij
java -Dij.connection.sample=jdbc:derby:sample -Dij.connection.History=jdbc:derby:History -Dderby.system.home=c:\derby\demo\databases org.apache.derby.tools.ijTo see a list of connection names and the URL's 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.1 ij(HISTORY)> show connections; HISTORY* - jdbc:derby:History SAMPLE - jdbc:derby:sample * = current connection ij(HISTORY)>