We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
singleOrEmpty()
buffer()
1 parent cbfb99f commit f929121Copy full SHA for f929121
spring-r2dbc/src/main/java/org/springframework/r2dbc/core/DefaultFetchSpec.java
@@ -61,7 +61,7 @@ class DefaultFetchSpec<T> implements FetchSpec<T> {
61
public Mono<T> one() {
62
return all().singleOrEmpty()
63
.onErrorMap(IndexOutOfBoundsException.class, ex -> {
64
- String message = String.format("Query [%s] returned non unique result.", resultFunction.getSql());
+ String message = String.format("Query [%s] returned non unique result.", this.resultFunction.getSql());
65
return new IncorrectResultSizeDataAccessException(message, 1);
66
});
67
}
0 commit comments