Secondary Database Properties
Prev | Chapter 5. Secondary Databases | Next

## Secondary Database Properties

Secondary databases accept `SecondaryConfig` objects. `SecondaryConfig` is a subclass of `DatabaseConfig`, so it can manage all of the same properties as does `DatabaseConfig`. See Database Properties for more information.

In addition to the `DatabaseConfig` properties, `SecondaryConfig` also allows you to manage the following properties:

- `SecondaryConfig.setAllowPopulate()`

  If true, the secondary database can be autopopulated. This means that on open, if the secondary database is empty then the primary database is read in its entirety and additions/modifications to the secondary's records occur automatically.

- `SecondaryConfig.setKeyCreator()`

  Identifies the key creator object to be used for secondary key creation. See Implementing Key Creators for more information.

Prev | Up | Next
Implementing Key Creators | Home | Reading Secondary Databases