Hello Aram, If any SQL feature isn't supported by jOOQ, you can always resort to what we call "plain SQL": http://www.jooq.org/doc/3.2/manual/sql-building/plain-sql/
Please also consider these recent Stack Overflow questions, which deal with the same issue: - http://stackoverflow.com/q/19855761/521799 - http://stackoverflow.com/q/19900022/521799 - http://stackoverflow.com/q/19851625/521799 Cheers Lukas 2013/11/15 Aram Mirzadeh <[email protected]> > > How do you convert this into JOOQ... I can't seem to find a "format()" > method. > > SELECT REGION,CONCAT('$', FORMAT(SUM(`Item_Ext_Price_USD`), 2)) AS 'Total' > FROM .... > > I found: > > context.select(PT.REGION, > DSL.concat(DSL.val("$").DSL.sum(PT.ITEM_EXT_PRICE_USD).as("Total"))).... > > stuck on the formatting of the string. > > 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. > -- 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.
