* Build a parser for the passed ejbql string, for ANTLR version 2.7.3
*/
public static JPQLParser buildParser(String queryText) {
JPQLLexer lexer = new CaseInsensitiveJPQLLexer();
lexer.setCharStream(new CaseInsensitiveANTLRStringStream(queryText));
CommonTokenStream tokens = new CommonTokenStream();
tokens.setTokenSource(lexer);
JPQLParser parser = new JPQLParser(tokens);
return parser;
}