Skip to content

Commit 4dc3b88

Browse files
committed
[#2381] Fix chaining in ReactiveEmbeddableInitializerImpl#reactiveResolveInstance
The code was using .thenAccept instead of .thenCompose
1 parent 8731fcb commit 4dc3b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/sql/results/graph/embeddable/internal/ReactiveEmbeddableInitializerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public CompletionStage<Void> reactiveResolveInstance(EmbeddableInitializerData d
8989

9090
data.setState( State.RESOLVED );
9191
return extractRowState( (ReactiveEmbeddableInitializerData) data )
92-
.thenAccept( unused -> prepareCompositeInstance( (ReactiveEmbeddableInitializerData) data ) );
92+
.thenCompose( unused -> prepareCompositeInstance( (ReactiveEmbeddableInitializerData) data ) );
9393
}
9494

9595
private CompletionStage<Void> extractRowState(ReactiveEmbeddableInitializerData data) {

0 commit comments

Comments
 (0)