ij.database

Function

Creates a connection to the database name listed indicated by the property when ij starts up. You can specify the complete connection URL (including protocol) with this property or just the database name if you also specify ij.protocol on the command line. After it boots, ij displays the generated name of the connection made with this property.

Syntax

ij.database=databaseConnectionURL

When specified on the command line the databaseConnectionURL should not be enclosed in single quotations, however, if the database path contains special characters (e.g. a space) it must be enclosed in double quotes.

Example

java -Dij.protocol=jdbc:derby: 
    -Dij.database=wombat;create=true org.apache.derby.tools.ij
ij version 10.2
CONNECTION0* -  jdbc:derby:wombat
* = current connection
ij>
Related reference
ij.connection.connectionName
ij.dataSource
ij.driver
ij.maximumDisplayWidth
ij.outfile
ij.password
ij.protocol
ij.protocol.protocolName
ij.showErrorCode
ij.URLCheck
ij.user
derby.ui.codeset