Database-wide properties

You can set many Derby properties as database-level properties. When set in this way, they are stored in the database and "travel" with the database unless overridden by a system property. For more information, see "Database-Wide Properties" in Tuning Derby.

Note: You should work with database-level properties wherever possible.
Related concepts
The database directory
Creating, dropping, and backing up databases
Single database shutdown
Storage and recovery
Log on separate device
Database Pages
Database limitations