Re: JPQL: add error msg for invalid collection relationship navigation
Hi Michael,
Looks good.
-Tom
Michael Bouschen wrote:
>Hi Tom, hi Jielin,
>
>I fixed issue 1518 "JPQL: missing error msg for navigation of collection
>valued relationship":
>https://glassfish.dev.java.net/issues/show_bug.cgi?id=1518
>
>The following query is not valid, because it navigates through a
>collection valued relationship:
> SELECT c FROM Customer c WHERE c.orders.totalPrice > 100
>I added a check to class DotNode of the query compiler and a new error
>message to the EJBException class. You find the source and test changes
>attached.
>
>Thanks!
>
>Regards Michael
>
>