For the record, the RecordUnmapper and RecordUnmapperProvider SPIs are implemented in jOOQ 3.10, containing the current default behaviour of unnesting flat POJOs, arrays, maps.
If time permits, we'll also implement unmapping nested POJOs (https://github.com/jOOQ/jOOQ/issues/6159), arrays and maps (https://github.com/jOOQ/jOOQ/issues/6160) in 3.10. If not, in a later release. Thanks, Lukas Am Montag, 25. Januar 2016 17:15:34 UTC+1 schrieb Lukas Eder: > > 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.
