persistence@glassfish.java.net

Re: JPQL: fix query compiler ignoring third LOCATE argument

From: Tom Ware <tom.ware_at_oracle.com>
Date: Fri, 16 Jun 2006 09:20:14 -0400

Hi Michael,

  Just one comment. Can the handleStartPosition instance variable be
removed from LocateNode?

  Other than that, everything looks good.

Thanks,
Tom

Michael Bouschen wrote:

>Hi Tom,
>
>the attached jar fixes glassfish issue 742:
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=742
>
>The query compiler has a bug in the handling of the LOCATE node such
>that the generated SQL ignores the third LOCATE argument (the start
>position).
>
>I added a new test method to class JUnitEJBQLComplexTestSuite. It is
>included in the attached jar.
>
>Regards Michael
>
>