Skip to content

Commit 7836e26

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

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
@@ -85,7 +85,7 @@ public CompletionStage<Void> reactiveResolveInstance(EmbeddableInitializerData d
8585

8686
data.setState( State.RESOLVED );
8787
return extractRowState( (ReactiveEmbeddableInitializerData) data )
88-
.thenAccept( unused -> prepareCompositeInstance( (ReactiveEmbeddableInitializerData) data ) );
88+
.thenCompose( unused -> prepareCompositeInstance( (ReactiveEmbeddableInitializerData) data ) );
8989
}
9090

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

0 commit comments

Comments
 (0)