persistence@glassfish.java.net

Re: JPQL: fix missing parameter type info for ABS function call

From: Michael Bouschen <Michael.Bouschen_at_Sun.COM>
Date: Mon, 12 Jun 2006 15:28:33 +0200

Hi Tom,

> Hi Michael,
>
> The changes look good. Is a test case being added?

good point. I will add a test case using ABS with an input parameter.
However, the bug is only exposed when running on databases where we need
the type information to generate the correct SQL.

Regards Michael

>
> -Tom
>
> Michael Bouschen wrote:
>
>> Hi Tom,
>>
>> attached you find my changes to fix glassfish issue 725
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=725
>> It is about adding type information for an input parameter used in a
>> ABS function. The attached changes also fix the same issue for SQRT,
>> unary minus and MEMBER OF.
>>
>> Thanks.
>>
>> Regards Michael
>>
>>