## Uses of Class
com.sleepycat.db.ForeignKeyDeleteAction

- Packages that use ForeignKeyDeleteAction
  Package | Description
  --- | ---
  com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].

- - ### Uses of ForeignKeyDeleteAction in com.sleepycat.db

    Fields in com.sleepycat.db declared as ForeignKeyDeleteAction
    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.

    Methods in com.sleepycat.db that return ForeignKeyDeleteAction
    Modifier and Type | Method | Description
    --- | --- | ---
    `ForeignKeyDeleteAction` | SecondaryConfig.`getForeignKeyDeleteAction()` | Returns the action taken when a referenced record in the foreign key database is deleted.

    Methods in com.sleepycat.db with parameters of type ForeignKeyDeleteAction
    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.