public final class DefaultEclipseLinkJPQLGrammar extends java.lang.Object implements JPQLGrammar
JPQL grammar provides support for parsing JPQL queries defined by the
JPA 2.1 functional specification and the EclipseLink 2.4.JPQLGrammar2_1,
EclipseLinkJPQLGrammar2_4| Modifier and Type | Method and Description |
|---|---|
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.
|
static JPQLGrammar |
instance()
Returns the singleton instance of this class.
|
java.lang.String |
toString() |
public static JPQLGrammar instance()
JPQLGrammar that supports EclipseLinkpublic ExpressionRegistry getExpressionRegistry()
JPQLQueryBNFs and the ExpressionFactories that are used
to properly parse a JPQL query.getExpressionRegistry in interface JPQLGrammarpublic JPAVersion getJPAVersion()
JPAVersion of the Java Persistence supported by this grammar.getJPAVersion in interface JPQLGrammarJPA version supported by this grammarpublic java.lang.String getProviderVersion()
getProviderVersion in interface JPQLGrammarpublic java.lang.String toString()
toString in class java.lang.ObjectEclipseLink 2.4.2, "build v20130514-5956486" API Reference