For instance, the function AVG accepts a state field path. The property it represents has
to be of numeric type. AVG(e.name) is parsable but is not semantically valid because the
type of name is a string (the property signature is: "private String name").
Note
EclipseLink does not validate types, but leaves it to the database. This is because
some databases such as Oracle allow different types to different functions and perform implicit
type conversion. i.e. CONCAT('test', 2) returns 'test2'. Also the
FUNC function has an unknown type, so should be allowed with any function.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
EclipseLinkGrammarValidator
| Modifier and Type | Class and Description |
|---|---|
| public static class | AbstractEclipseLinkSemanticValidator.EclipseLinkOwningClauseVisitor
This visitor retrieves the clause owning the visited |
| protected static class | |
| protected static class | |
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| private EclipseLinkSemanticValidatorExtension | extension
The following extension can be used to give access to non-JPA metadata artifacts, such as database tables and columns. |
| private AbstractEclipseLinkSemanticValidator. | subquerySelectItemCalculator
This visitor calculates the number of items the subquery |
| private AbstractEclipseLinkSemanticValidator. | tableExpressionVisitor
This visitor determines if the |
| Access | Constructor and Description |
|---|---|
| protected | AbstractEclipseLinkSemanticValidator(SemanticValidatorHelper
The given helper allows this validator to access the JPA artifacts without using
Hermes SPI helper, EclipseLinkSemanticValidatorExtension The following extension can be used to give access to non-JPA metadata
artifacts, such as database tables and columns extension)Creates a new |