Booting an encrypted database

You must specify the encryption key with the bootPassword=key attribute for an encrypted database when you boot it (which is the first time you connect to it within a JVM session or after shutting it down within the same JVM session). For more information about data encryption, see Encrypting databases on disk.

Related tasks
Shutting down Derby or an individual database
Creating and accessing a database
Providing a user name and password
Encrypting a database when you create it
Specifying attributes in a properties object
Related reference
Using the databaseName attribute