| 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.
|
| Modifier and Type | Field | Description |
|---|---|---|
static SecondaryConfig |
SecondaryConfig.DEFAULT |
| Modifier and Type | Method | 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.
|
| Modifier and Type | Method | Description |
|---|---|---|
SecondaryDatabase |
Environment.openSecondaryDatabase(Transaction txn,
java.lang.String databaseName,
Database primaryDatabase,
SecondaryConfig dbConfig) |
Opens and optionally creates a
SecondaryDatabase. |
| Modifier and Type | Method | Description |
|---|---|---|
SecondaryDatabase |
JEConnection.openSecondaryDatabase(java.lang.String name,
Database primaryDatabase,
SecondaryConfig config) |
| Modifier and Type | Method | Description |
|---|---|---|
SecondaryConfig |
EntityStore.getSecondaryConfig(java.lang.Class entityClass,
java.lang.String keyName) |
Returns the default secondary database Berkeley DB engine API
configuration for an entity class and key name.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
EntityStore.setSecondaryConfig(java.lang.Class entityClass,
java.lang.String keyName,
SecondaryConfig config) |
Configures a secondary database for an entity class and key name using
the Berkeley DB engine API.
|
Copyright (c) 2002, 2018 Oracle and/or its affiliates. All rights reserved.