Chapter 1 - Quick Tour

This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program. After reading this chapter, you will be able to write basic programs that create, open, and close ObjectDB databases and perform basic CRUD (Create, Retrieve, Update, and Delete) operations.

The example program in this chapter manages a simple database that contains points in the plane. Each point is represented by an object with two int fields, x and y, that store the point's x and y coordinates. The program demonstrates CRUD database operations by storing, retrieving, updating, and deleting Point objects.

This chapter contains the following sections:

To run the sample program from this chapter in your IDE, see one of the following tutorials:

These tutorials provide step-by-step instructions on how to start using JPA in your IDE with the ObjectDB object database. Because ObjectDB is simple, this process is quick and easy, even for beginners.