Package | Description |
---|---|
com.sleepycat.db | |
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 |
SecondaryDatabase.getSecondaryConfig() |
Returns a copy of the secondary configuration of this database.
|
Modifier and Type | Method | Description |
---|---|---|
SecondaryDatabase |
Environment.openSecondaryDatabase(Transaction txn,
java.lang.String fileName,
java.lang.String databaseName,
Database primaryDatabase,
SecondaryConfig config) |
Open a database.
|
Constructor | Description |
---|---|
SecondaryDatabase(java.lang.String fileName,
java.lang.String databaseName,
Database primaryDatabase,
SecondaryConfig config) |
Open a database.
|
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) 1996, 2020 Oracle and/or its affiliates. All rights reserved.