EJB query: Reserved words
The following words are reserved in WebSphere Application Server EJB queries.
all, as, distinct, empty, false, from, group, having, in, is, like, select, true, union, where
Avoid using identifiers that start with underscore (for example, _integer ) as these are also reserved.
Related:
EJB query language Use EJB query Use the dynamic query service