diff --git a/jOOQ/src/main/java/org/jooq/Record.java b/jOOQ/src/main/java/org/jooq/Record.java index 356b1d9840..e2a4e7bedc 100644 --- a/jOOQ/src/main/java/org/jooq/Record.java +++ b/jOOQ/src/main/java/org/jooq/Record.java @@ -434,6 +434,15 @@ public interface Record extends Attachable, Comparable { /** * Set a value into this record. + *

+ * This will always set the {@link #changed(Field)} flag for the given + * field, no matter if setting the value actually changes the + * value. + *

+ * Changing {@link Table#getPrimaryKey()} values will set all + * {@link #changed()} flags to true, in order to produce complete + * INSERT statements on subsequent + * {@link UpdatableRecord#store()} operations. * * @param The generic field parameter * @param field The field @@ -443,6 +452,15 @@ public interface Record extends Attachable, Comparable { /** * Set a value into this record. + *

+ * This will always set the {@link #changed(Field)} flag for the given + * field, no matter if setting the value actually changes the + * value. + *

+ * Changing {@link Table#getPrimaryKey()} values will set all + * {@link #changed()} flags to true, in order to produce complete + * INSERT statements on subsequent + * {@link UpdatableRecord#store()} operations. * * @param The generic field parameter * @param The conversion type parameter