thanks Lukas,

I got it resolved.
For some reason static import is not working .... yet to investigate for 
some time using qualified path. Its working.

~Shyam


On Wednesday, January 22, 2014 1:54:58 PM UTC+5:30, Lukas Eder wrote:
>
> Hi Shyam,
>
> Have you static imported all the DSL methods as I wrote in that previous 
> E-Mail?
>
> // The below code assumes a static import as such:
> // import static org.jooq.impl.DSL.*;
>
> DSL.using(connection, dialect)
>    .select(nullIf(max(a), 0).as("a"))
>    .from(table)
>
> Whenever you see a standalone SQL function in Java code, it is imported 
> from org.jooq.impl.DSL. Obviously, you can also qualify it as such, if you 
> prefer
>
> // The below code assumes a static import as such:
> // import static org.jooq.impl.DSL.*;
>
> DSL.using(connection, dialect)
>    .select(DSL.nullIf(DSL.max(a), 0).as("a"))
>    .from(table)
>
>
> 2014/1/22 Sha <[email protected] <javascript:>>
>
>> nullIf() not been able to recognized.
>>>
>>
>> What could have went wrong ?
>>
>> ~Shyam 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "jOOQ User Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to