Hi Ernest, Thanks for your suggestion. Indeed, this would be quite useful - we just haven't gotten around to doing it yet. The relevant feature request is this one: https://github.com/jOOQ/jOOQ/issues/4627
We'd love to see your contribution! Please see our contribution guidelines here, and let me know if I can help: https://github.com/jOOQ/jOOQ/blob/master/CONTRIBUTING.md Thanks, Lukas 2017-11-07 2:33 GMT+01:00 Ernest Mishkin <[email protected]>: > DefaultRecordMapper already supports classes annotated with > @java.beans.ConstructorProperties > (ImmutablePOJOMapperWithConstructorProperties) to map record's fields to > constructor parameters by *name*, rather than by *position*. But using > the said annotation is somewhat obsolete approach on modern (1.8+) JVMs > where the information about parameter names can be compiled into byte code > using -parameters argument to javac. > > I'm really interested in supporting this use case, and wondering if this > may be useful for community at large (happy to contribute a patch in such > case). > If Lukas or one of the other core committers can recommend the best > approach of "hacking" this into DefaultRecordMapper I will appreciate it. > > 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 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.
