diff --git a/jOOQ/src/main/java/org/jooq/Record.java b/jOOQ/src/main/java/org/jooq/Record.java index 2d421d253b..1aedb8e0c7 100644 --- a/jOOQ/src/main/java/org/jooq/Record.java +++ b/jOOQ/src/main/java/org/jooq/Record.java @@ -99,6 +99,28 @@ import org.jetbrains.annotations.Nullable; * jOOQ records have a natural ordering implemented in the same way as this is * defined in the SQL standard. For more details, see the * {@link #compareTo(Record)} method. + *
+ *
+ * Starting from Java 14, the Record type conflicts with
+ * {@link java.lang.Record}, which is always imported by default. According to
+ * Java Language Specification, this means that jOOQ's Record type
+ * can no longer be imported on demand. This is not sufficient:
+ *
+ *
+ *
+ * import org.jooq.*;
+ *
+ *
+ *
+ * You have to do this instead:
+ *
+ *
+ *
+ * import org.jooq.*;
+ * import org.jooq.Record;
+ *
+ *
*
* @author Lukas Eder
* @see Result