Solved: Jooq: jsonb fetchInto custom type

Question:

what’s the correct way to map jsonb record into custom data type? just like normal table fields.

Best Answer:

If you put gson or jackson on your classpath, jOOQ’s DefaultConverterProvider will automatically use those to map your JSONB content to your data, so that should be all you need to do to make this work.

If you have better answer, please add a comment about this, thank you!

Source: Stackoverflow.com