concept operator in category ejb

appears as: operators, operator
EJB 3 in Action, Second Edition

This is an excerpt from Manning's book EJB 3 in Action, Second Edition.

Table 11.2. JPQL keywords reserved by the specification. You’re not allowed to give any of your variables these names.

Types

Reserved words

Statements and clauses SELECT, UPDATE, DELETE, FROM, WHERE, GROUP, HAVING, ORDER, BY, ASC, DESC
Joins JOIN, OUTER, INNER, LEFT, FETCH
Conditions and operators DISTINCT, OBJECT, NULL, TRUE, FALSE, NOT, AND, OR, BETWEEN, LIKE, IN, AS, UNKNOWN, EMPTY, MEMBER, OF, IS, NEW, EXISTS, ALL, ANY, SOME
Functions AVG, MAX, MIN, SUM, COUNT, MOD, UPPER, LOWER, TRIM,POSITION, CHARACTER_LENGTH, CHAR_LENGTH, BIT_LENGTH, CURRENT_TIME, CURRENT_DATE, CURRENT_TIMESTAMP
Conditional expressions and operators

A condition in the WHERE clause that filters results from a query is known as a conditional expression. You can build a conditional expression using path expressions and operators supported by the language. JPQL can evaluate a path expression with numeric, string, or boolean values using relational operators. Here’s an example of a conditional expression:

c.categoryName = 'Dumped Cars'

Table 11.3 lists the types of operators supported by JPQL, in order of precedence.