Is there a better way to find out that org.jooq.Record contains some value than this one(f.e. in RecordMapper):
if (record.field(SOMETABLE.SOMECOLUMN.getName()) != null)
You don't have do that getName()
call, you can also just write:
if (record.field(SOMETABLE.SOMECOLUMN) != null)
Other than that, yes, that's the only way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With