openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r712842 - /openjpa/trunk/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt
Date Mon, 10 Nov 2008 21:35:35 GMT
Author: ppoddar
Date: Mon Nov 10 13:35:35 2008
New Revision: 712842

URL: http://svn.apache.org/viewvc?rev=712842&view=rev
Log:
OPENJPA-764: Parse IN expressions with string functions such as UPPER()

Modified:
    openjpa/trunk/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt

Modified: openjpa/trunk/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt?rev=712842&r1=712841&r2=712842&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt (original)
+++ openjpa/trunk/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt Mon
Nov 10 13:35:35 2008
@@ -705,7 +705,7 @@
 
 void in_expression() #IN : { }
 {
-	path() [ LOOKAHEAD(1) <NOT> { jjtThis.not = true; }] <IN>
+	(path() | scalar_function()) [ LOOKAHEAD(1) <NOT> { jjtThis.not = true; }] <IN>
 		"(" (literal_or_param()
 			(<COMMA> (literal_or_param()))* | subquery())
 		")" 



Mime
View raw message