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 Java DB.

Note: You should work with database-level properties wherever possible.
Related concepts
The database directory
Creating, dropping, and backing up databases
Derby database limitations