java.lang.Object
org.eclipse.persistence.internal.jpa.jpql.HermesParser
All Implemented Interfaces:
JPAQueryBuilder

public final class HermesParser extends Object implements JPAQueryBuilder
This class compiles a JPQL query into a DatabaseQuery. If validation is not turned off, then the JPQL query will be validated based on the grammar related to the validation level and will also be validated based on the semantic (context).

The validation level determines how to validate the JPQL query. It checks if any specific feature is allowed. For instance, if the JPQL query has functions defined for EclipseLink grammar but the validation level is set for generic JPA, then an exception will be thrown indicating the function cannot be used.

See Also: