Yes, this is what I meant by "unmapping". You have a nested entity (i.e.
POJOs nested in other POJOs, if you will), and you want to flatten this
data structure into a jOOQ record.

This is currently not possible with out-of-the-box functionality. The
RecordUnmapper API is a pending feature request, which we have not yet
implemented:
https://github.com/jOOQ/jOOQ/issues/2520

So, as of now, you will have to implement a solution entirely outside of
jOOQ, I'm afraid.

Best Regards,
Lukas

2016-01-25 17:03 GMT+01:00 Collin <[email protected]>:

> Hmm... I am needing this for insert so I guess this approach wouldn't work
> then?
>
> The code is simply:
> R record = (R) dsl.newRecord(CLIENTS, entity);
>
> --
> 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.
>

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