diff --git a/jOOQ/src/main/java/org/jooq/impl/Executor.java b/jOOQ/src/main/java/org/jooq/impl/Executor.java index 41e9df10c3..cd7c208dc3 100644 --- a/jOOQ/src/main/java/org/jooq/impl/Executor.java +++ b/jOOQ/src/main/java/org/jooq/impl/Executor.java @@ -5225,6 +5225,20 @@ public class Executor implements Configuration { return result; } + /** + * Create a new empty {@link Result}. + *

+ * The result is attached to this {@link Configuration} by default. This + * result can be used as a container for records. + * + * @param The generic record type + * @param table The table holding records of type <R> + * @return The new result + */ + public final Result newResult(Table table) { + return new ResultImpl(this, table.fields()); + } + // ------------------------------------------------------------------------- // XXX Executing queries // -------------------------------------------------------------------------