Hi,

Please, advice how to implement table fields comparison in select statement 
in jOOQ.

For example:

select (result.update_time > result.snapshot_time) as compare from result
 
In jOOQ there was a problem of casting SelectField to CompareCondition when 
I tried to use greaterThan operation in dsl.select()

dsl.select(RESULT.UPDATE_TIME.greaterThan(RESULT.SNAPSHOT_TIME)).from(RESULT)

results in
ClassCastException: org.jooq.impl.CompareCondition cannot be cast to 
org.jooq.SelectField


Thank you,
Elena

-- 
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.

Reply via email to