Full Syntax

This section discusses the EJB QL syntax, as defined in the Enterprise JavaBeans specification. Much of the following material paraphrases or directly quotes the specification.

BNF Symbols

Table 29-1 describes the BNF symbols used in this chapter.

Table 29-1. BNF Symbol Summary
SymbolDescription
::=The element to the left of the symbol is defined by the constructs on the right.
*The preceding construct may occur zero or more times.
{...}The constructs within the curly braces are grouped together.
[...]The constructs within the square brackets are optional.
|An exclusive OR.
BOLDFACEA keyword (although capitalized in the BNF diagram, keywords are not case-sensitive).
WhitespaceA whitespace character can be a space, a horizontal tab, or a linefeed. ...

Get The J2EE™ Tutorial Second Edition 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.