# Setting attributes for the database connection URL

Derby allows you to supply a list of attributes to its database connection URL, which is a JDBC feature.

The attributes are specific to Derby.

You typically set attributes in a semicolon-separated list following the protocol and subprotocol (and, in some cases, the subsubprotocol). For information on how you set attributes, see Attributes of the Derby database connection URL. This section provides reference information only.

Note: Attributes are not parsed for correctness. If you pass in an incorrect attribute or corresponding value, it is simply ignored.

- bootPassword=key attribute
- collation=collation attribute
- create=true attribute
- createFrom=path attribute
- databaseName=nameofDatabase attribute
- dataEncryption=true attribute
- drop=true attribute
- encryptionKey=key attribute
- encryptionProvider=providerName attribute
- encryptionAlgorithm=algorithm attribute
- failover=true attribute
- logDevice=logDirectoryPath attribute
- newEncryptionKey=key attribute
- newBootPassword=newPassword attribute
- password=userPassword attribute
- restoreFrom=path attribute
- rollForwardRecoveryFrom=path attribute
- securityMechanism=value attribute
- shutdown=true attribute
- slaveHost=hostname attribute
- slavePort=portValue attribute
- startMaster=true attribute
- startSlave=true attribute
- stopMaster=true attribute
- stopSlave=true attribute
- territory=ll_CC attribute
- traceDirectory=path attribute
- traceFile=path attribute
- traceFileAppend=true attribute
- traceLevel=value attribute
- upgrade=true attribute
- user=userName attribute
- ssl=sslMode attribute
- Creating a connection without specifying attributes