HHH-1643 - Sub-query as function parameter - either sub-query is missed from SQL or NullPointerException raised

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20163 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2010-08-18 17:27:40 +00:00
parent 39b0774ae3
commit cf2cab9e18
1 changed files with 4 additions and 2 deletions

View File

@ -582,8 +582,10 @@ collectionFunction
; ;
functionCall functionCall
: #(METHOD_CALL {inFunctionCall=true;} pathAsIdent ( #(EXPR_LIST (expr)* ) )? ) : #(METHOD_CALL {inFunctionCall=true;} pathAsIdent ( #(EXPR_LIST (exprOrSubquery)* ) )? ) {
{ processFunction(#functionCall,inSelect); } {inFunctionCall=false;} processFunction( #functionCall, inSelect );
inFunctionCall=false;
}
| #(AGGREGATE aggregateExpr ) | #(AGGREGATE aggregateExpr )
; ;