# ij.protocol

#### Function

Specifies the default protocol and subprotocol portions of the database connection URL for connections. The Derby protocol is:

- jdbc:derby:

Allows you to use a short form of a database name in a connection URL.

#### Syntax

    ij.protocol=protocolForEnvironment

#### Example

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

#### See also

- Protocol

Parent topic: ij properties reference
Related reference
ij.connection.connectionName
ij.database
ij.dataSource
ij.driver
ij.maximumDisplayWidth
ij.outfile
ij.password
ij.protocol.protocolName
ij.showErrorCode
ij.URLCheck
ij.user
derby.ui.codeset