diff --git a/jOOQ/src/main/java/org/jooq/tools/jdbc/MockResult.java b/jOOQ/src/main/java/org/jooq/tools/jdbc/MockResult.java index 2a42eb8505..d216a440fa 100644 --- a/jOOQ/src/main/java/org/jooq/tools/jdbc/MockResult.java +++ b/jOOQ/src/main/java/org/jooq/tools/jdbc/MockResult.java @@ -76,10 +76,16 @@ public class MockResult { /** * The result data associated with this execution result. *

- * This object describes the result data (including meta data). If the given - * query execution did not provide any results, this may be - * null. Note, that this can also be used to provide a result - * for {@link Statement#getGeneratedKeys()} + * This object describes the result data (including meta data). + *

+ * If the given query execution did not provide any results (as in + * {@link Statement#execute(String)} == false), this may be + * null. This is not the same as producing an empty + * result, which can only be modelled by an empty {@link Result}, containing + * column information but no rows. + *

+ * Note, that this can also be used to provide a result for + * {@link Statement#getGeneratedKeys()} */ public final Result data;