The examples in this section use the syntax of the connection URL for use
in an embedded environment. You can also specify these same attributes and
values on the client connection URL if you are using as
a database server. For more information, see the .
You can also set these attributes by passing a Properties object
along with a connection URL to DriverManager.getConnection when
obtaining a connection; see "Specifying Attributes in a Properties Object".
All attributes are optional.
You can specify the following attributes:
- bootPassword=key
- collation=collationAttribute
- create=true
- databaseName=nameofDatabase
- dataEncryption=true
- encryptionProvider=providerName
- encryptionAlgorithm=algorithm
- territory=ll_CC
- logDevice=logDirectoryPath
- createFrom=BackupPath
- restoreFrom=BackupPath
- rollForwardrecoveryFrom=BackupPath
- password=userPassword
- shutdown=true
- user=userName
For detailed information about the connection URL syntax and attributes,
see " Database Connection
URL Syntax" in the .