Search in sources :

Example 1 with JPQLQueryBNFAccessor

use of org.eclipse.persistence.jpa.tests.jpql.parser.JPQLQueryBNFAccessor in project eclipselink by eclipse-ee4j.

the class ContentAssistTest method setUpClass.

@Override
protected void setUpClass() throws Exception {
    super.setUpClass();
    virtualQuery = new JavaQuery(getPersistenceUnit(), null);
    bnfAccessor = new JPQLQueryBNFAccessor(getGrammar().getExpressionRegistry());
}
Also used : JPQLQueryBNFAccessor(org.eclipse.persistence.jpa.tests.jpql.parser.JPQLQueryBNFAccessor) JavaQuery(org.eclipse.persistence.jpa.tests.jpql.tools.spi.java.JavaQuery)

Aggregations

JPQLQueryBNFAccessor (org.eclipse.persistence.jpa.tests.jpql.parser.JPQLQueryBNFAccessor)1 JavaQuery (org.eclipse.persistence.jpa.tests.jpql.tools.spi.java.JavaQuery)1