Training Labs (C++)

The training labs are a series of incremental exercises that will introduce you to the Objectivity/DB development environment and step you through some of its key features.

Download C++ Training Labs


Lab 1. Application Development Flow

This exercise will introduce you to the Objectivity/DB C++ development environment. You will be provided with a simple example to study, build and run. In the process you will be exposed to the essential Objectivity/DB programming interface and tools.

Lab 2. Objectivity/DB Programming

Starting and committing transactions, opening a federated database and a database, creating your own containers and placing objects in them - learn all the basic concepts to get you started with Objectivity/DB Programming.

Lab 3. String Classes

This exercise introduces the Objectivity string class ooVString.

Lab 4. System, Scope and ooMap Names

Assign names to individual objects and containers using Objectivity/DB's various naming mechanisms and use those names for later retrieval.

Lab 5. Associations

Use Objectivity/DB associations to define relationships between objects in your database.. You will declare the association in your DDL files and use the corresponding generated methods in your application.

Lab 6. Iterators

This exercise explores the use of the various Iterator classes in Objectivity/DB. You will iterate by containment, by type (with and without a predicate) and by association.

Lab 7. Indexes

Learn how to speed up your predicate scans. Create an index structure using Key Descriptors and Key Fields, and retrieve them using Predicate Query.