EJB query language (EJB QL)

EJB QL is a query specification language for the finder and select methods of entity beans with container-managed persistence (CMP). The EJB QL statements are part of the deployment descriptor, and each statement is mapped to a corresponding finder and select method.

Abstract persistence schema

In Chapter 3, “Entity beans” on page 73, we saw that the abstract persistence schema allowed us to specify two things: define CMP data-to-object mappings and container-managed relationships (CMR). It is similar to the idea of how a database schema is defined, where the tables, fields, and relationships of the tables would be defined. In the EJB abstract persistence schema, these would be our entity beans, CMP fields, and CMR ...

Get EJB 2.0 Development with WebSphere Studio Application Developer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.