[#6718] Add missing overload DSLContext.newResult(Collection<? extends Field<?>>)

This commit is contained in:
lukaseder 2017-10-18 16:26:07 +02:00
parent e8185bd6f4
commit f6db231221
2 changed files with 17 additions and 0 deletions

View File

@ -9923,6 +9923,18 @@ public interface DSLContext extends Scope , AutoCloseable {
*/
Result<Record> newResult(Field<?>... fields);
/**
* Create a new empty {@link Record}.
* <p>
* The resulting record is attached to this {@link Configuration} by
* default. Use {@link Settings#isAttachRecords()} to override this
* behaviour.
*
* @param fields The fields defining the <code>Record</code> type
* @return The new record
*/
Result<Record> newResult(Collection<? extends Field<?>> fields);
// [jooq-tools] START [newResult]
/**

View File

@ -3669,6 +3669,11 @@ public class DefaultDSLContext extends AbstractScope implements DSLContext, Seri
return new ResultImpl<Record>(configuration(), fields);
}
@Override
public Result<Record> newResult(Collection<? extends Field<?>> fields) {
return new ResultImpl<Record>(configuration(), fields);
}
// [jooq-tools] START [newResult]
@Generated("This method was generated using jOOQ-tools")