# Uses of Class com.sleepycat.db.Sequence (Oracle - Berkeley DB Java API)
Date: 2017-04-13

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

Packages that use Sequence
com.sleepycat.db: Berkeley DB Java API [reference guide] [Java programming notes].
com.sleepycat.persist: The Direct Persistence Layer (DPL) adds a persistent object model to the Berkeley DB transactional engine.

### Uses of Sequence in com.sleepycat.db

Methods in com.sleepycat.db that return Sequence
`Sequence` Database.`openSequence(Transaction txn, DatabaseEntry key, SequenceConfig config)` Open a sequence represented by the key in the database.

### Uses of Sequence in com.sleepycat.persist

Methods in com.sleepycat.persist that return Sequence
`Sequence` EntityStore.`getSequence(java.lang.String name)` Returns a named sequence for using Berkeley DB engine API directly, opening it if necessary.