Package | Description |
---|---|
com.sleepycat.db |
Modifier and Type | Field | Description |
---|---|---|
static ForeignKeyDeleteAction |
ForeignKeyDeleteAction.ABORT |
When a referenced record in the foreign key database is deleted, abort
the transaction by throwing a
DatabaseException . |
static ForeignKeyDeleteAction |
ForeignKeyDeleteAction.CASCADE |
When a referenced record in the foreign key database is deleted, delete
the primary database record that references it.
|
static ForeignKeyDeleteAction |
ForeignKeyDeleteAction.NULLIFY |
When a referenced record in the foreign key database is deleted, set the
reference to null in the primary database record that references it,
thereby deleting the secondary key.
|
Modifier and Type | Method | Description |
---|---|---|
ForeignKeyDeleteAction |
SecondaryConfig.getForeignKeyDeleteAction() |
Returns the action taken when a referenced record in the foreign key
database is deleted.
|
Modifier and Type | Method | Description |
---|---|---|
void |
SecondaryConfig.setForeignKeyDeleteAction(ForeignKeyDeleteAction action) |
Specifies the action taken when a referenced record in the foreign key
database is deleted.
|
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.