Scope of properties
You use properties to configure a
system, database, or
Most properties can be set on a system-wide basis; that is, you set a
property for the entire system and all its databases and conglomerates, if this
is applicable. Some properties, such as error handling and automatic booting,
can be configured only in this way, since they apply to the entire system. (For
information about the Derby
system, see Derby system.)
Some properties can also be set on a database-wide basis. That is, the
property is true for the selected database only and not for the other databases
in the system unless it is set individually within each of them.
For properties that affect conglomerates, changing the value of such
properties affects only conglomerates that are created after the change.
Conglomerates created earlier are unaffected.
Database-wide properties are stored in the database and are simpler for
deployment, in the sense that they follow the database. Database-wide properties
are also recommended for security reasons when you use
authentication (see Derby and Security
System-wide properties can be more practical during the development
built-in authentication mechanism is suitable only for development and testing
purposes. It is strongly recommended that production systems rely on LDAP or a
user-defined class for authentication. It is also strongly recommended that
production systems protect network connections with SSL/TLS.