Use eclipselink.jpql.parser to configure the JPQL parser validation level to be configured.
Table 5-51 describes this persistence property's values.
Table 5-51 Valid Values for jpql.validation
| Value | Description |
|---|---|
|
|
(Default) Allows EclipseLink JPAL extensions. |
|
|
Allows valid JPA 1.0 JPQL only. |
|
JPA 2.0 |
Allows valid JPA 2.0 JPQL only. |
|
JPA 2.1 |
Allows valid JPA 2.1 JPQL only. |
|
None |
No JPQL validation. |
This parameter applies only when eclipselink.jpql.parser is HermesParser.
For more information, see: