Hi, Michael, Tom,
Attached is the fix for issue 136 - JPQL validation: Parser not catching
invalid expression type with IN expression.
According to spec,
in_expression ::= state_field_path_expression [NOT] IN (in_item {,
in_item}* | subquery)
The state_field_path_expression must have a string, numeric or enum value.
The in_item and the result of subquery must be like the same abstrct
schema type of the state_field_path_expression.
Added two validation checks in InNode.java.
Please review the change.
Thanks.
Jielin