Example
In the following example, ij connects to a previously
created database named sample using an
EmbeddedDataSource. The property
ij.showNoConnectionsAtStart is set to true in
the first session of the example and to false in the
second session.
java -Dij.dataSource=org.apache.derby.jdbc.EmbeddedDataSource \
-Dij.dataSource.databaseName=sample -Dij.showNoConnectionsAtStart=true \
org.apache.derby.tools.ij
ij version
ij> disconnect;
ij> exit;
java -Dij.dataSource=org.apache.derby.jdbc.EmbeddedDataSource \
-Dij.dataSource.databaseName=sample -Dij.showNoConnectionsAtStart=false \
org.apache.derby.tools.ij
ij version
CONNECTION0*
* = current connection
ij> disconnect;
ij> exit;