|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JPQLGrammar
A JPQL grammar defines how a JPQL query can be parsed. The ExpressionRegistry contains
the BNFs and the expression factories used to
create the object representation of the JPQL query.
Various JPQL grammars have been defined:
JPQLGrammar1_0 defines the JPQL grammar based on JPA 1.0;JPQLGrammar2_0 defines the JPQL grammar based on JPA 2.0;EclipseLinkJPQLGrammar1 defines the JPQL grammar based on JPA 1.0 and EclipseLink 1.x;EclipseLinkJPQLGrammar2_0 defines the JPQL grammar based on JPA 2.0 and the additional EclipseLink 2.0 support;EclipseLinkJPQLGrammar2_1 defines the JPQL grammar based on JPA 2.0 and the additional EclipseLink 2.1 support.EclipseLinkJPQLGrammar2_2 defines the JPQL grammar based on JPA 2.0 and the additional EclipseLink 2.2 support.EclipseLinkJPQLGrammar2_3 defines the JPQL grammar based on JPA 2.0 and the additional EclipseLink 2.3 support.EclipseLinkJPQLGrammar2_4 defines the JPQL grammar based on JPA 2.0 and the additional EclipseLink 2.4 support.DefaultJPQLGrammar defines the JPQL grammar based on the latest JPA version;DefaultEclipseLinkJPQLGrammar defines the JPQL grammar based on the latest JPA and
the latest EclipseLink;
| Method Summary | |
|---|---|
ExpressionRegistry |
getExpressionRegistry()
Returns the registry containing the JPQLQueryBNFs and the ExpressionFactories that are used
to properly parse a JPQL query. |
JPAVersion |
getJPAVersion()
Returns the JPAVersion of the Java Persistence supported by this grammar. |
java.lang.String |
getProviderVersion()
Returns the version of the persistence provider. |
| Method Detail |
|---|
ExpressionRegistry getExpressionRegistry()
JPQLQueryBNFs and the ExpressionFactories that are used
to properly parse a JPQL query.
JPAVersion getJPAVersion()
JPAVersion of the Java Persistence supported by this grammar.
JPA version supported by this grammarjava.lang.String getProviderVersion()
|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||