Oracle Berkeley DB Java Collections Tutorial

June 30, 2007 … Foreword. Welcome to the Berkeley DB (DB) Collections API. This document contains a tutorial that shows the Collections API. ….

More PDF Content

Berkeley DB Collections Tutorial
Conventions Used in this Book … iv
For More Information … v
1. Introduction … 1
Features … 1
Developing a DB 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 … 24
Adding Database Items … 26
Retrieving Database Items … 29
Handling Exceptions … 31
3. Using Secondary Indices … 33
Opening Secondary Key Indices … 33
More Secondary Key Indices … 37
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
Record Number Bindings … 80
Selecting Data Bindings … 80
Implementing Bindings … 81
Using Bindings … 81
Secondary Key Creators … 81
Using the DB Java Collections API … 82
Using Transactions … 82
Transaction Rollback … 83
Selecting Access Methods … 84
Access Method Restrictions … 84
Using Stored Collections … 85
Stored Collection and Access Methods … 85
Stored Collections Versus Standard Java Collections … 86
Other Stored Collection Characteristics … 87
Why Java Collections for Berkeley DB … 89
Serialized Object Storage … 90

Download Oracle Berkeley DB Java Collections Tutorial pdf from sepp.oetiker.ch, 97 pages, 437.41KB.
Related Books

16 Responses to “Oracle Berkeley DB Java Collections Tutorial”

  1. I just have to tell you that your work is amazing.

  2. Egypt For Tours on April 10th, 2011 at 6:21 am

    is it good?

  3. I am really satisfied with this posting that you have given us. This is really a stupendous work done by you.Mother Lode Wedding | I surprised with the analysis you made to make this particular publish incredible. Wonderful activity! Wedding Dress Blog | Thanks so much with this fantastic new web site. I’m very fired up to show it to anyone. It makes me so satisfied your vast understanding and wisdom have a new channel for trying into the world.Wedding Year Round | This topic is the one that I have been looking into from last 3 days and your insight is extremely useful. Thanks for sharing this information. Wedding Wales | This is a smart blog. I mean it you have so much knowledge about this issue and so much passion. White Blossom Wedding | Aim for a higher progress and development and work your way from those goals and plans. Interesting in here indeed. thanks for the share.Wish Upon a Wedding | I bumped into your post. I don’t usually post in blogs but your blog forced me to. Awesome work! Thank you for sharing!Air Pets America | This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion Best Pet Sitter | You might write about the services on the blog. You should disclose it’s refreshing. Your blog conclusion could accelerate your shoppers.Celebrate Pets | Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained!Net Pet Shop |

Leave a Reply