You mean Record.from()? It's the inverse of into(). But there's currently no way to override the default, before we implement https://github.com/jOOQ/jOOQ/issues/2520, the "RecordUnmapper"
2015-09-14 22:19 GMT+02:00 Robert DiFalco <[email protected]>: > Underlying this, it would be nice to have a fluent interface using a > non-JOOQ Java Bean that can translate from bean fields to database fields > transparently. The into works very nicely for the other way around (i.e. > query results). > > On Sun, Sep 13, 2015 at 11:55 PM, Lukas Eder <[email protected]> wrote: > >> I've registered an issue for this. Would certainly be very useful to >> expose such an API also in jOOQ's runtime: >> https://github.com/jOOQ/jOOQ/issues/4544 >> >> 2015-09-14 8:51 GMT+02:00 Lukas Eder <[email protected]>: >> >>> There are utilities that go the other way round, i.e. from >>> "phone_number" to "phoneNumber". I'm think that Spring might have such >>> utilities, though. And Jackson also does: >>> http://stackoverflow.com/q/10519265/521799 >>> >>> Hope this helps, >>> Lukas >>> >>> 2015-09-14 1:22 GMT+02:00 Robert DiFalco <[email protected]>: >>> >>>> It there a utility in JOOQ to convert a Java Bean field name like >>>> "phoneNumber" to the Field<?> name of "phone_number"? Actually, just >>>> getting the Field<?> by "phoneNumber" would be great too. >>>> >>>> Thanks >>>> >>>> -- >>>> 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 a topic in the >> Google Groups "jOOQ User Group" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jooq-user/_8KYcum-8H4/unsubscribe. >> To unsubscribe from this group and all its topics, 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. > -- 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.
