ij.protocol property

The ij.protocol property specifies the default protocol and subprotocol portions of the database connection URL for connections.

The Derby protocol is:

jdbc:derby:

The property allows you to use a short form of a database name in a connection URL.

Syntax

ij.protocol=protocolForEnvironment

Example

java -Dij.protocol=jdbc:derby: org.apache.derby.tools.ij
ij version 10.11
ij> Connect 'newDB;create=true';
ij>

See also

Related reference
ij.connection.connectionName property
ij.database property
ij.dataSource property
ij.exceptionTrace property
ij.maximumDisplayWidth property
ij.outfile property
ij.password property
ij.protocol.protocolName property
ij.showErrorCode property
ij.showNoConnectionsAtStart property
ij.showNoCountForSelect property
ij.URLCheck property
ij.user property
derby.ui.codeset property
derby.ui.locale property