diff --git a/jOOQ/src/main/java/org/jooq/impl/DefaultRecordMapper.java b/jOOQ/src/main/java/org/jooq/impl/DefaultRecordMapper.java index 9f3e254edc..05751c0e9c 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DefaultRecordMapper.java +++ b/jOOQ/src/main/java/org/jooq/impl/DefaultRecordMapper.java @@ -121,14 +121,14 @@ import org.jooq.tools.reflect.Reflect; * only those are used: *
*
<E> contains public single-argument instance methods
- * annotated with Column, those methods are invoked<E> contains public no-argument instance methods
- * starting with getXXX or isXXX, annotated with
- * Column, then matching public setXXX() instance
- * methods are invoked<E> contains public instance member fields annotated
- * with Column, those members are set<E> contains single-argument instance methods of any
+ * visibility annotated with Column, those methods are invoked<E> contains no-argument instance methods of any
+ * visibility starting with getXXX or isXXX, annotated
+ * with Column, then matching setXXX() instance
+ * methods of any visibility are invoked<E> contains instance member fields of any visibility
+ * annotated with Column, those members are setRecord values by naming convention:
*
* If {@link Field#getName()} is MY_field (case-sensitive!), then
- * this field's value will be set on all of these:
+ * this field's value will be set on all of these (regardless of visibility):
*
MY_field(...)myField(...)setMY_field(...)setMyField(...)MY_fieldmyFieldMY_field(...)myField(...)setMY_field(...)setMyField(...)MY_fieldmyField
* If {@link Field#getName()} is MY_field.MY_nested_field
* (case-sensitive!), then this field's value will be considered a nested value
* MY_nested_field, which is set on a nested POJO that is passed to
- * all of these:
+ * all of these (regardless of visibility):
*
MY_field(...)myField(...)setMY_field(...)setMyField(...)MY_fieldmyFieldMY_field(...)myField(...)setMY_field(...)setMyField(...)MY_fieldmyField*