caseWhen.getType() == Integer.class
Field caseWhen = DSL.coerce(DSL.decode().when(column.isNull(), 0).otherwise(column), Object.class);Field caseWhen = DSL.decode().when(column.isNull(), DSL.coerce(DSL.val(0), Object.class)).otherwise(column);
--
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 jooq-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks a ton, Lucas! That was extremely helpful. I can probably get away with passing the 0 as a string, so I'll try that first. Appreciate the quick response.
You received this message because you are subscribed to a topic in the Google Groups "jOOQ User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jooq-user/YlE2Dlq64Ic/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jooq-user+...@googlegroups.com.