Uses of Class com.sleepycat.je.SecondaryConfig (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

## Uses of Class
com.sleepycat.je.SecondaryConfig

- Packages that use SecondaryConfig
  Package | Description
  --- | ---
  com.sleepycat.je | Foundation for creating environments, databases and transactions; provides cursor based data access.
  com.sleepycat.je.jca.ra | Support for the Java Connector Architecture, which provides a standard for connecting the J2EE platform to legacy enterprise information systems (EIS), such as ERP systems, database systems, and legacy applications not written in Java.
  com.sleepycat.persist | The Direct Persistence Layer (DPL) adds a persistent object model to the Berkeley DB transactional engine.

- - ### Uses of SecondaryConfig in com.sleepycat.je

    Fields in com.sleepycat.je declared as SecondaryConfig
    Modifier and Type | Field and Description
    --- | ---
    `static SecondaryConfig` | SecondaryConfig.`DEFAULT`

    Methods in com.sleepycat.je that return SecondaryConfig
    Modifier and Type | Method and Description
    --- | ---
    `SecondaryConfig` | SecondaryConfig.`clone()` Returns a copy of this configuration object.
    `SecondaryConfig` | SecondaryDatabase.`getConfig()` Returns a copy of the secondary configuration of this database.
    `SecondaryConfig` | SecondaryDatabase.`getSecondaryConfig()` Deprecated. As of JE 4.0.13, replaced by `SecondaryDatabase.getConfig()`.
    `SecondaryConfig` | SecondaryConfig.`setAllowPopulate(boolean allowPopulate)` Specifies whether automatic population of the secondary is allowed.
    `SecondaryConfig` | SecondaryConfig.`setForeignKeyDatabase(Database foreignKeyDatabase)` Defines a foreign key integrity constraint for a given foreign key database.
    `SecondaryConfig` | SecondaryConfig.`setForeignKeyDeleteAction(ForeignKeyDeleteAction foreignKeyDeleteAction)` Specifies the action taken when a referenced record in the foreign key database is deleted.
    `SecondaryConfig` | SecondaryConfig.`setForeignKeyNullifier(ForeignKeyNullifier foreignKeyNullifier)` Specifies the user-supplied object used for setting single-valued foreign keys to null.
    `SecondaryConfig` | SecondaryConfig.`setForeignMultiKeyNullifier(ForeignMultiKeyNullifier foreignMultiKeyNullifier)` Specifies the user-supplied object used for setting multi-valued foreign keys to null.
    `SecondaryConfig` | SecondaryConfig.`setImmutableSecondaryKey(boolean immutableSecondaryKey)` Specifies whether the secondary key is immutable.
    `SecondaryConfig` | SecondaryConfig.`setKeyCreator(SecondaryKeyCreator keyCreator)` Specifies the user-supplied object used for creating single-valued secondary keys.
    `SecondaryConfig` | SecondaryConfig.`setMultiKeyCreator(SecondaryMultiKeyCreator multiKeyCreator)` Specifies the user-supplied object used for creating multi-valued secondary keys.

    Methods in com.sleepycat.je with parameters of type SecondaryConfig
    Modifier and Type | Method and Description
    --- | ---
    `SecondaryDatabase` | Environment.`openSecondaryDatabase(Transaction txn, String databaseName, Database primaryDatabase, SecondaryConfig dbConfig)` Opens and optionally creates a `SecondaryDatabase`.

  - ### Uses of SecondaryConfig in com.sleepycat.je.jca.ra

    Methods in com.sleepycat.je.jca.ra with parameters of type SecondaryConfig
    Modifier and Type | Method and Description
    --- | ---
    `SecondaryDatabase` | JEConnection.`openSecondaryDatabase(String name, Database primaryDatabase, SecondaryConfig config)`

  - ### Uses of SecondaryConfig in com.sleepycat.persist

    Methods in com.sleepycat.persist that return SecondaryConfig
    Modifier and Type | Method and Description
    --- | ---
    `SecondaryConfig` | EntityStore.`getSecondaryConfig(Class entityClass, String keyName)` Returns the default secondary database Berkeley DB engine API configuration for an entity class and key name.

    Methods in com.sleepycat.persist with parameters of type SecondaryConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | EntityStore.`setSecondaryConfig(Class entityClass, String keyName, SecondaryConfig config)` Configures a secondary database for an entity class and key name using the Berkeley DB engine API.

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.