Thank you very much. Aram
On Wednesday, November 20, 2013 7:54:23 PM UTC-5, Aram Mirzadeh wrote: > > Hi, > > Can someone point me toward how to conver this select to JOOQ? > > SELECT > `foo`, > IF(`d_fk` > 0, 'Yes', 'No') AS 'Active', > `bar` > FROM TABLEA > > TABLE_A has gone through the code generation. > > Result<?> result = context.select().TABLEA.FOO,????, TABLEA.BAR).fetch(); > > Also I have a SQL statement that is expecting a bind so it's: > > SELECT `foo` FROM TABLEB WHERE id=? > > How do I bind a var, and execute this query? Should I rewrite this as a > JOOQ select (it's very very long and complex, and it only only has the one > bind variable). > > Thanks. > -- 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.
