Hello, I'll cross-reference this discussion with the corresponding Stack Overflow question: http://stackoverflow.com/q/19982020/521799
The answer given there is: You can find some information about bitwise operators / bitwise functions in the relevant section of the jOOQ manual<http://www.jooq.org/doc/3.2/manual/sql-building/column-expressions/bitwise-functions/> . Concretely, using DSL.bitAnd()<http://www.jooq.org/javadoc/latest/org/jooq/impl/DSL.html#bitAnd%28org.jooq.Field,%20org.jooq.Field%29> : DSL.bitAnd(TABLE_A.PRODUCTS, 255); Cheers Lukas 2013/11/14 <[email protected]> > > Hi, > > I'm trying to convert this to JOOQ sql and cannot find the method to use: > > SELECT foo from TABLE_A where (foo & 2); > > 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.
