2014-12-16 10:18 GMT+01:00 Marcel Huber <[email protected]>: > Hi Lukas, > > this helps a lot. I was playing with "selectOne()" getting back a > "Condition", but couldn't find a suitable "method" to get the desired > result. > And I was pretty sure, that there is an idiomatic solution! >
Yes, that one was introduced in jOOQ 3.3 after realising that the PostgreSQL (and the SQL standard) treat BOOLEAN types and predicates as exactly the same thing, which is extremely useful... Which makes me wonder if we should let org.jooq.Condition extend org.jooq.Field<Boolean>, in fact! I'll think about that: -- 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/d/optout.
