@Test public void parseMethodsInLike() throws Exception { this.parser.parse("SELECT doc.fullName FROM Document doc, doc.object(XWiki.XWikiUsers) obj " + "where obj.first_name like LOWER('%DMIN%')"); this.parser.parse("SELECT doc.fullName FROM Document doc, doc.object(XWiki.XWikiUsers) obj " + "where obj.first_name like LOWER(CONCAT('%', 'DMIN%'))"); }
public Start parse(String stmt) throws Exception { Parser p = new Parser(new Lexer(new PushbackReader(new StringReader(stmt)))); Start start = p.parse(); return start; }
JPQLParser { public Start parse(String stmt) throws Exception { Parser p = new Parser(new Lexer(new PushbackReader(new StringReader(stmt)))); Start start = p.parse(); return start; } }
JPQLParser { public Start parse(String stmt) throws Exception { Parser p = new Parser(new Lexer(new PushbackReader(new StringReader(stmt)))); Start start = p.parse(); return start; }  }
JPQLParser { public Start parse(String stmt) throws Exception { Parser p = new Parser(new Lexer(new PushbackReader(new StringReader(stmt)))); Start start = p.parse(); return start; }  Start parse(String stmt); }
JPQLParser { public Start parse(String stmt) throws Exception { Parser p = new Parser(new Lexer(new PushbackReader(new StringReader(stmt)))); Start start = p.parse(); return start; }  Start parse(String stmt);  }