Skip to content

Commit 770bc4d

Browse files
DavideDSanne
authored andcommitted
Clean up StandardReactiveSelectExecutor
1 parent 88f4be7 commit 770bc4d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/sql/exec/internal/StandardReactiveSelectExecutor.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ public <R> CompletionStage<List<R>> list(
8989
executionContext,
9090
rowTransformer,
9191
domainResultType,
92-
sql -> executionContext.getSession()
92+
executionContext.getSession()
9393
.getJdbcCoordinator()
94-
.getStatementPreparer()
95-
.prepareStatement( sql ),
94+
.getStatementPreparer()::prepareStatement,
9695
ReactiveListResultsConsumer.instance( uniqueSemantic )
9796
);
9897
}

0 commit comments

Comments
 (0)