# Persistence of properties

A database-wide property always has persistence. That is, its value is stored in the database. Typically, it is in effect until you explicitly change the property or until you set a system-wide property with precedence over database-wide properties (see Precedence of properties).

A system-wide property might have persistence, depending on how you set it. If you set it programmatically, it persists only for the duration of the JVM of the application that set it. If you set it in the derby.properties file, a property persists until:

- That value is changed
- The file is removed from the system
- The database is booted outside of that system

Parent topic: Properties overview
Related concepts
Scope of properties
Precedence of properties
Dynamic versus static properties