Berkeley DB Java Edition Java Collections Tutorial Release 3.2

This documentation is distributed under an open source license. The goal of this document is to provide you with an efficient mechanism with which you can quickly become efficient with this API

More PDF Content

Berkeley DB Java Edition Java Collections Tutorial Release 3.2
Preface … iv
Conventions Used in this Book … iv
For More Information … v
1. Introduction … 1
Features … 1
Developing a JE Collections Application … 2
Tutorial Introduction … 3
2. The Basic Program … 6
Defining Serialized Key and Value Classes … 6
Opening and Closing the Database Environment … 11
Opening and Closing the Class Catalog … 13
Opening and Closing Databases … 15
Creating Bindings and Collections … 17
Implementing the Main Program … 20
Using Transactions … 23
Adding Database Items … 25
Retrieving Database Items … 28
Handling Exceptions … 30
3. Using Secondary Indices and Foreign keys … 32
Opening Secondary Key Indices … 32
Opening Foreign Key Indices … 36
Creating Indexed Collections … 40
Retrieving Items by Index Key … 42
4. Using Entity Classes … 46
Defining Entity Classes … 46
Creating Entity Bindings … 50
Creating Collections with Entity Bindings … 53
Using Entities with Collections … 54
5. Using Tuples … 59
Using the Tuple Format … 59
Using Tuples with Key Creators … 60
Creating Tuple Key Bindings … 62
Creating Tuple-Serial Entity Bindings … 64
Using Sorted Collections … 67
6. Using Serializable Entities … 69
Using Transient Fields in an Entity Class … 69
Using Transient Fields in an Entity Binding … 73
Removing the Redundant Value Classes … 75
7. Summary … 77
A. API Notes and Details … 78
Using Data Bindings … 78
Selecting Binding Formats … 79
Selecting Data Bindings … 79
Implementing Bindings … 81
Using Bindings … 81
Secondary Key Creators … 81
Using the JE Collections API … 82
Using Transactions … 82
Transaction Rollback … 83
Access Method Restrictions … 83
Using Stored Collections … 84
Stored Collection and Access Methods … 84
Stored Collections Versus Standard Java Collections … 85
Other Stored Collection Characteristics … 86
Why Java Collections for Berkeley DB Java Edition … 87
Serialized Object Storage … 88

Download Berkeley DB Java Edition Java Collections Tutorial Release 3.2 pdf from download.oracle.com, 95 pages, 466.66KB.
Related Books

One Response to “Berkeley DB Java Edition Java Collections Tutorial Release 3.2”

  1. What is wrong with Oracle? Do you not understand the simple concept of a single, authoritative home page for a piece of software? You have so many “home pages” for different versions of Berkeley DB it’s ludicrous. I can’t believe you make money as a software company.

Leave a Reply