Skip to content

Operations not chained correctly in BatchingConnection #2535

@DavideD

Description

@DavideD

This code here:

else {
    CompletionStage<Void> lastBatch = executeBatch();
    newBatch( sql, paramValues, expectation );
    return lastBatch;
}

should be:

return executeBatch()
    .thenAccept( lastBatch -> newBatch( sql, paramValues, expectation ) );

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions