public synchronized static void disableDatabasePersistence() {
        if (instance != null) {
            throw new IllegalStateException("Cannot use this method after JiveProperties#getInstance() is already invoked (which it has).");
        }
        disableDatabasePersistence = true;
    }
Prevent JiveProperties from interacting with the database.

On rare occasions - that typically involve running tests - Openfire code will be invoked without a database being
available. In such cases, it's undesirable for properties to be retrieved and stored to the database, as this
will require a significant amount of resource usage, but will silently fail.

This method can only be invoked before {@link #getInstance()} is being invoked. This intends to prevent a
behavioral change at some time after the server was started.
xmppserver/src/main/java/org/jivesoftware/util/JiveProperties.java