Specifies a new boot password for an encrypted database. A new encryption key is generated internally by the engine and the key is protected using the new boot password. The newly generated encryption key encrypts the database, including the existing data. For more information about this attribute, see "Encrypting databases with a new boot password" in the Derby Developer's Guide.
The newBootPassword attribute must be combined with the bootPassword=key attribute.
You cannot change the encryption provider or the encryption algorithm when you use the newBootPassword attribute.
-- specify a new boot password for a database
jdbc:derby:salesdb;bootPassword=abc1234xyz;newBootPassword=new1234xyz