Creates a named connection to the given database connection URL when ij starts up; it is equivalent to the Connect AS Identifier command. The database connection URL can be of the short form if an ij.protocol is specified. This property can be specified more than once per session, creating multiple connections. When ij starts, it displays the names of all the connections created in this way. It also displays the name of the current connection, if there is more than one, in the ij prompt.
The databaseConnectionURL is not a string; do not enclose it in quotation marks.
D:> java -Dij.connection.tours1=jdbc:derby:toursDB -Dij.connection.anotherConn=jdbc:derby:anotherDB;create=true org.apache.derby.tools.ij ij version 10.0 (c) 2001,2004 IBM Corp. ANOTHERCONN* - jdbc:derby:anotherDB;create=true TOURS1 - jdbc:derby:toursDB * = current connection ij(ANOTHERCONN)>
Table of Contents