Hi Fabio :)

Projections.Constant should not work with parameters, if we can do
that we could solve it

so instead of generating CASE WHEN exp THEN ? ELSE ? END, we should
output CASE WHEN exp THEN "CONSTANT VALUE" ...

On 2 feb, 18:28, Fabio Maulo <[email protected]> wrote:
> a patch to DB400 dialect
>
> 2010/2/2 Nexus <[email protected]>
>
>
>
> > Hi
>
> > When we use Projection.Conditional(Projection ..., true part , false
> > part), where the true and false parts are Projections.Constant
> > (true),Projections.Constant(false)
>
> > We get an error, because DB2400 cannot have a "case when " structure
> > where both the true as the false part are parameters
>
> > Does anyone have a workaround
>
> > Kind regards
>
> > --
> > 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]<nhusers%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/nhusers?hl=en.
>
> --
> 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