Uses of Class
org.eclipse.persistence.jpa.jpql.tools.AbstractJPQLQueryHelper
-
Uses of AbstractJPQLQueryHelper in org.eclipse.persistence.jpa.jpql.tools
Modifier and TypeClassDescriptionclass
This helper can perform the following operations over a JPQL query: Calculates the result type of a query:getResultType()
; Calculates the type of an input parameter:getParameterType(String)
. Calculates the possible choices to complete the query from a given position (used for content assist):buildContentAssistProposals(int)
. Validates the query by introspecting it grammatically and semantically:validate()
,validateGrammar()
,validateSemantic()
. Refactoring support:DefaultJPQLQueryHelper.buildBasicRefactoringTool()
provides support for generating the delta of the refactoring operation through a collection ofTextEdit
objects.DefaultJPQLQueryHelper.buildRefactoringTool()
provides support for refactoring the JPQL query through the editableStateObject
and once all refactoring operations have been executed, theIJPQLQueryFormatter
will generate a new string representation of the JPQL query. This helper should be used when the JPQL query is written using the JPQL grammar defined in the Java Persistence functional specification 1.0 or 2.x.class
This helper can perform the following operations over a JPQL query: Calculates the result type of a query:getResultType()
; Calculates the type of an input parameter:getParameterType(String)
. Calculates the possible choices to complete the query from a given position (used for content assist):buildContentAssistProposals(int)
. Validates the query by introspecting it grammatically and semantically:validate()
,validateGrammar()
,validateSemantic()
. Refactoring support:EclipseLinkJPQLQueryHelper.buildBasicRefactoringTool()
provides support for generating the delta of the refactoring operation through a collection ofTextEdit
objects.EclipseLinkJPQLQueryHelper.buildRefactoringTool()
provides support for refactoring the JPQL query through the editableStateObject
and once all refactoring operations have been executed, theIJPQLQueryFormatter
will generate a new string representation of the JPQL query. This helper should be used when the JPQL query is written using the JPQL grammar defined in the Java Persistence functional specification 2.1 and it contains the additional support provided by EclipseLink.