diff --git a/jOOQ/src/main/java/org/jooq/Record.java b/jOOQ/src/main/java/org/jooq/Record.java index f06b1c551f..7a68606eab 100644 --- a/jOOQ/src/main/java/org/jooq/Record.java +++ b/jOOQ/src/main/java/org/jooq/Record.java @@ -1036,7 +1036,9 @@ public interface Record extends Fields, Attachable, Comparable, Formatta *

*

If any JPA {@link jakarta.persistence.Column} annotations are found * on the {@link Class} of the provided source, only those are - * used. Matching candidates are:
+ * used (assuming the jOOQ-jpa-extensions module is on the + * classpath and {@link Configuration#annotatedPojoMemberProvider()} + * configures it. Matching candidates are: *

*

* Additional matching rules: * *

- *

If there are no JPA jakarta.persistence.Column annotations, or jOOQ can't - * find the jakarta.persistence API on the classpath, jOOQ will - * map members by naming convention:
+ *
If there are no JPA jakarta.persistence.Column + * annotations, or jOOQ can't find the jakarta.persistence API + * on the classpath, jOOQ will map members by naming convention:
*

* If {@link Field#getName()} is MY_field (case-sensitive!), * then this field's value will be fetched from the first of these: diff --git a/jOOQ/src/main/java/org/jooq/conf/Settings.java b/jOOQ/src/main/java/org/jooq/conf/Settings.java index 2d73a21b13..91f181d5bd 100644 --- a/jOOQ/src/main/java/org/jooq/conf/Settings.java +++ b/jOOQ/src/main/java/org/jooq/conf/Settings.java @@ -5530,7 +5530,7 @@ public class Settings } /** - * Whether JPA annotations should be considered by the DefaultRecordMapper. + * Whether JPA annotations should be considered by the {@link org.jooq.impl.DefaultRecordMapper}, assuming the jOOQ-jpa-extensions is on the classpath. * * @return * possible object is @@ -5542,7 +5542,7 @@ public class Settings } /** - * Whether JPA annotations should be considered by the DefaultRecordMapper. + * Whether JPA annotations should be considered by the {@link org.jooq.impl.DefaultRecordMapper}, assuming the jOOQ-jpa-extensions is on the classpath. * * @param value * allowed object is @@ -8963,7 +8963,7 @@ public class Settings } /** - * Whether JPA annotations should be considered by the DefaultRecordMapper. + * Whether JPA annotations should be considered by the {@link org.jooq.impl.DefaultRecordMapper}, assuming the jOOQ-jpa-extensions is on the classpath. * */ public Settings withMapJPAAnnotations(Boolean value) { diff --git a/jOOQ/src/main/java/org/jooq/impl/DefaultRecordMapper.java b/jOOQ/src/main/java/org/jooq/impl/DefaultRecordMapper.java index 44b6db6a13..50f3f3fb6f 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DefaultRecordMapper.java +++ b/jOOQ/src/main/java/org/jooq/impl/DefaultRecordMapper.java @@ -161,7 +161,10 @@ import org.jooq.tools.reflect.ReflectException; *

*

If a default constructor is available and any JPA * {@link jakarta.persistence.Column} annotations are found on the provided - * <E>, only those are used:
+ * <E> type, and the jOOQ-jpa-extensions module + * is found on the classpath and configured in + * {@link Configuration#annotatedPojoMemberProvider()}, only those are + * used: *

*