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

# 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. For information on how you set attributes, see Attributes of the Derby database connection URL. This chapter 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
- encryptionKey=key attribute
- encryptionProvider=providerName attribute
- encryptionAlgorithm=algorithm 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
- territory=ll_CC attribute
- user=userName attribute
- ssl=sslMode attribute
- Creating a connection without specifying attributes