Berkeley DB Collections Tutorial
by presenting a tutorial that describes usage of the API. …. This section of the tutorial describes how to open and close the database environment. …
More PDF Content
Berkeley DB Collections Tutorial
Page 1
Oracle Berkeley DB Java Collections Tutorial Release 4.7 .
Page 2
Legal Notice This documentation is distributed under an open source license. You may review the terms of this license at: http://www.oracle.com/technology/software/products/berkeley-db/htdocs/oslicense.html Oracle, Berkeley DB, and Sleepycat are trademarks or registered trademarks of Oracle. All rights to these marks are reserved. No third-party use is permitted without the express prior written consent of Oracle. Java™ and all Java-based marks are a trademark or registered trademark of Sun Microsystems, Inc, in the United States and other countries. To obtain a copy of this document’s original source code, please submit a request to the Oracle Technology Network forum at: http://forums.oracle.com/forums/forum.jspa?forumID=271 Published 4/25/2008
Page 3
Table of Contents Preface …………………………………………………………………………………. iv 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
PDF files Related to this topic:
- Berkeley DB Java Edition Collections Tutorial … Berkeley DB Java Edition. Java Collections Tutorial … Welcome...
- A Quick Tutorial on C Programming using Berkeley UNIX A Quick Tutorial on C Programming using Berkeley UNIX. Peter...
- BPEL Tutorial This tutorial describes how to invoke BPEL processes, both synchronous...
- Oracle Reports Tutorial This tutorial is intended for users new to Oracle Reports,...
- Oracle/SQL Tutorial This Oracle/SQL tutorial provides a detailed introduction to the SQL...
Processing your request, Please wait....