From 75b9ca7fa3588428083f6fedb9b398f710065726 Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Mon, 10 Nov 2008 21:35:35 +0000 Subject: [PATCH] OPENJPA-764: Parse IN expressions with string functions such as UPPER() git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712842 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt b/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt index 860983208..59701c199 100644 --- a/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt +++ b/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt @@ -705,7 +705,7 @@ void between_expression() #BETWEEN : { } void in_expression() #IN : { } { - path() [ LOOKAHEAD(1) { jjtThis.not = true; }] + (path() | scalar_function()) [ LOOKAHEAD(1) { jjtThis.not = true; }] "(" (literal_or_param() ( (literal_or_param()))* | subquery()) ")"