Jooq: Enhance DefaultRecordMapper (and Unmapper) to follow JavaBeans conventions

Created on 7 Jan 2015  路  3Comments  路  Source: jOOQ/jOOQ

When a column is called firstName (case-sensitive), jOOQ currently doesn't call the setter setFirstName(). From a JavaBeans conventions perspective, this is surprising.

Historically, jOOQ's DefaultRecordMapper was designed to follow SQL conventions more strictly than JavaBeans conventions, which is why a call to setfirstName() is preferred (e.g. in SQL Server, names are PascalCased (FirstName), which leads to the expected behaviour again)

With https://github.com/jOOQ/jOOQ/issues/5354 implemented in jOOQ 3.10, we must implement this as well!


See also:

Functionality High Worksforme Enhancement

Most helpful comment

JOOQ 3.10.x hype intensifies. 馃槏

All 3 comments

This already works in our existing integration test suite, which was introduced with #5354. Let's close this as worksforme and look out for additional bugs

JOOQ 3.10.x hype intensifies. 馃槏

Yay, stay tuned. Only a few hours left @bitbrain

Was this page helpful?
0 / 5 - 0 ratings