Package org.eclipse.persistence.jpa.jpql

Examples of org.eclipse.persistence.jpa.jpql.AbstractGrammarValidator


   * @param expression The parsed tree representation of the query
   * @param problems A non-<code>null</code> list that will be used to store the {@link
   * JPQLQueryProblem problems} if any was found
   */
  public void validateGrammar(Expression expression, List<JPQLQueryProblem> problems) {
    AbstractGrammarValidator visitor = getGrammarValidator();
    try {
      visitor.setProblems(problems);
      expression.accept(visitor);
    }
    finally {
      visitor.dispose();
    }
  }
View Full Code Here


   * @param expression The parsed tree representation of the query
   * @param problems A non-<code>null</code> list that will be used to store the {@link
   * JPQLQueryProblem problems} if any was found
   */
  public void validateGrammar(Expression expression, List<JPQLQueryProblem> problems) {
    AbstractGrammarValidator visitor = getGrammarValidator();
    try {
      visitor.setProblems(problems);
      expression.accept(visitor);
    }
    finally {
      visitor.dispose();
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.AbstractGrammarValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.