This “How To” section explains all the most common functions and features of the Objectivity/DB database and data management system, and provides numerous tutorials, code examples, snippets, and much more. These technical resources are to help developers understand our technology, best programming and design practices, and to quickly learn the interface for their desired programming language.
Please choose from the following topics:
Creating a Federated Database
Basics
In this section you'll learn the essentials of a basic Objectivity application. You'll learn how to:
- Connect to an Objectivity Database
- Work with Sessions
- Create Databases
- Create Containers
- Create Objects
[c++] [java]
Use Command Line Tools
Defining Your Objects
Learn how to define the schema for your objects. Learn how to persist your objects in a Federated Database.
[c++] [java]
Updating Your Objects
In this section, you'll learn how to:
- Retrieve your objects using namescopes
- Update the data/content of your object
- Delete an object
[c++] [java]
Creating Associations Between Objects
Objectivity/DB associations constitute a linking mechanism with a higher level of
functionality than reference attributes. In this section, you'll learn to create and use the two types of directional associations:
- Bidirectional
- Unidirectional
And their cardinalities:
- One-to-One
- One-to-Many
- Many-to-One
- Many-to-Many
[c++] [java]
Querying Objects
You can scan for objects that will meet a specified predicate within the federated database on any storage level.
[c++] [java]
Clustering Objects
Learn how to store your objects together. Learn why a good clustering strategy can improve performance. In this section you will learn to customize your own clustering strategy.
[c++] [java]
Using Objectivity Collections and Index
You can group your objects in a map, index, or from a number of Objectivity sorted/unsoerted collections. In this section you'll learn how to create, add, remove, and iterate through:
- Index
- ooMap
- ooTreeMapX
- ooTreeSetX
- ooTreeListX
- ooHashMapX
- ooHashSetX
Coming Soon!
Handling an Objectivity Exception
Learn how and when to catch/print an Objectivity exception.
[c++] [java]