Precedence of properties

The search order for properties is as follows.

  1. System-wide properties set programmatically (as a command-line option to the JVM when starting the application or within application code)
  2. Database-wide properties
  3. System-wide properties set in the file

This means, for example, that system-wide properties set programmatically override database-wide properties and system-wide properties set in the file, and that database-wide properties override system-wide properties set in the file.

Related concepts
Scope of properties
Persistence of properties
Dynamic versus static properties