apache > db
Apache DB Project
 
Font size:      

Database Connection URL Attributes

Database Connection URL Attributes

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 The Derby Database Connection URL Attributes. This chapter provides reference information only.

The core attributes of the Derby database connection URL are:

  • bootPassword=key
  • create=true
  • databaseName=nameofDatabase
  • dataEncryption=true
  • encryptionProvider=providerName
  • encryptionAlgorithm=algorithm
  • territory=ll_CC
  • logDevice=logDirectoryPath
  • password=userPassword
  • rollForwardRecoveryFrom=Path
  • createFrom=Path
  • restoreFrom=Path
  • shutdown=true
  • user=userName
  • (no attributes)
Note:
Attributes are not parsed for correctness. If you pass in an incorrect attribute or corresponding value, it is simply ignored.

Previous Page
Next Page
Table of Contents
Index