Know one.

2008/12/19 Roger Kratz <[email protected]>

>  Hi
>
>
>
> There seems to be some problem with the following hql query...
>
> [
>
> from Foo f
>
> where f.Aaa=:aaa
>
> and exists(from Bar b where […])
>
> ]
>
> …if filter(s) are declared for Bar.  The parameters (=resulting @p0, @p1)
> are messed up. One parameter gets another's parameter value.
>
> (Eg, it seems that @p0 always will have the value set from the filter. In
> the generated sql for above, @p0 will replace :aaa -> Error!)
>
>
>
> A workaround that works in this case is to set the values by position
> instead.
>
>
>
> Just wanted to check if this is a known issue? If not, I'll commit a test
> to the JIRa for this.
>
>
>
> /Roger
>
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to