O'Reilly logo

The Java EE 6 Tutorial: Basic Concepts, Fourth Edition by Chinmayee Srivathsa, Kim Haase, Devika Gollapudi, Ian Evans, Eric Jendrock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Introduction to the Java Persistence API

The Java Persistence API provides Java developers with an object/relational mapping facility for managing relational data in Java applications. Java Persistence consists of four areas:

• The Java Persistence API

• The query language

• The Java Persistence Criteria API

• Object/relational mapping metadata

The following topics are addressed here:

• “Entities” on page 333

• “Entity Inheritance” on page 345

• “Managing Entities” on page 349

• “Querying Entities” on page 355

• “Further Information about Persistence” on page 355

Entities

An entity is a lightweight persistence domain object. Typically, an entity represents a table in a relational database, and each entity instance corresponds to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required