ij.protocol

Function

Specifies the protocol and subprotocol portions of the database connection URL for connections. Automatically loads the appropriate driver for recognized subprotocol. The recognized protocol is:
  • jdbc:derby:

Allows you to use a short form of a database name.

Syntax

ij.protocol=protocolForEnvironment

Example

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

See also

Related reference
ij.connection.connectionName
ij.database
ij.driver
ij.maximumDisplayWidth
ij.outfile
ij.protocol.protocolName
ij.showErrorCode
ij.URLCheck
derby.ui.codeset