Oracle Berkeley DB, Java Edition Java Collections Tutorial 11g Release 2

Oracle Berkeley DB Java Edition. Java Tutorial collections. 11g Release 2. (11.2.4.0 version of the library). Welcome to the Berkeley DB Java Edition (JE) Collections API. This document provides a tutorial that introduces the collections API

More PDF Content

Oracle Berkeley DB, Java Edition Java Collections Tutorial 11g Release 2
Preface … v
Conventions Used in this Book … v
For More Information … vi
Contact Us … vi
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 … 16
Implementing the Main Program … 19
Using Transactions … 23
Adding Database Items … 25
Retrieving Database Items … 27
Handling Exceptions … 30
3. Using Secondary Indices and Foreign keys … 32
Opening Secondary Key Indices … 32
Opening Foreign Key Indices … 35
Creating Indexed Collections … 39
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 … 58
Using the Tuple Format … 58
Using Tuples with Key Creators … 59
Creating Tuple Key Bindings … 61
Creating Tuple-Serial Entity Bindings … 63
Using Sorted Collections … 66
6. Using Serializable Entities … 68
Using Transient Fields in an Entity Class … 68
Using Transient Fields in an Entity Binding … 72
Removing the Redundant Value Classes … 74
7. Summary … 76
A. API Notes and Details … 77
Using Data Bindings … 77
Selecting Binding Formats … 78
Selecting Data Bindings … 78
Implementing Bindings … 79
Using Bindings … 79
Secondary Key Creators … 80
Using the JE JE Collections API … 80
Using Transactions … 80
Transaction Rollback … 81
Access Method Restrictions … 82
Using Stored Collections … 82
Stored Collection and Access Methods … 82
Stored Collections Versus Standard Java Collections … 83
Other Stored Collection Characteristics … 84
Why Java Collections for Berkeley DB Java Edition … 85
Serialized Object Storage … 86
Getting Started with Berkeley DB, Java Edition
Berkeley DB, Java Edition Getting Started with Transaction Processing
Berkeley DB, Java Edition Getting Started with High Availability Applications
Berkeley DB, Java Edition Javadoc

Download Oracle Berkeley DB, Java Edition Java Collections Tutorial 11g Release 2 pdf from download.oracle.com, 93 pages, 394.56KB.