# 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
- create=true
- createFrom=Path
- databaseName=nameofDatabase
- dataEncryption=true
- encryptionKey=<key>
- encryptionProvider=providerName
- encryptionAlgorithm=algorithm
- logDevice=logDirectoryPath
- newEncryptionKey= <key>
- newBootPassword = <new password>
- password=userPassword
- restoreFrom=Path
- rollForwardRecoveryFrom=Path
- shutdown=true
- territory=ll_CC
- user=userName
- (no attributes)