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

2 Responses 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.

  2. This bag is available in three colors, one is Mushroom glazed goat leather, one is blueberry waxed Nubuck leather and the last one is black soft spongy leather.(Michael Kors Handbags Outlet Clearance)With one main compartment, one internal zip pocket and one internal slip pocket and internal Mulberry fob, the bag can be used conveniently.(MK Bags Outlet)The bag features magnetic closure and external stitch detailing.(Fashion)Such a designer bag is not eye-catching, but it is comfortable, functional and timeless.(Michael Kors Outlet Sale)It is the incontestable fact that Michael Kors Handbags are in hot pursuit among celebrities and socialites.(Michael Kors Outlet Online)The sleek lines and classic detailing of this bag make it easy to wear with any outfit and give the tote a timeless quality sure to carry you from season to season.(click here)

Leave a Reply