Skip to content

Commit d5b75b5

Browse files
committed
[hibernate#2181] Align ReactiveSessionImpl to the changes in ORM 7
1 parent e1b6c18 commit d5b75b5

File tree

2 files changed

+180
-196
lines changed

2 files changed

+180
-196
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/session/ReactiveSession.java

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.hibernate.engine.spi.EntityEntry;
2121
import org.hibernate.engine.spi.SessionImplementor;
2222
import org.hibernate.event.spi.DeleteContext;
23+
import org.hibernate.event.spi.LoadEventListener;
2324
import org.hibernate.event.spi.MergeContext;
2425
import org.hibernate.event.spi.PersistContext;
2526
import org.hibernate.event.spi.RefreshContext;
@@ -66,6 +67,8 @@ public interface ReactiveSession extends ReactiveQueryProducer, ReactiveSharedSe
6667

6768
CompletionStage<Void> reactiveMerge(Object object, MergeContext copiedAlready);
6869

70+
CompletionStage<Object> reactiveLoad(LoadEventListener.LoadType loadType, Object id, String entityName, LockOptions lockOptions, Boolean readOnly);
71+
6972
CompletionStage<Void> reactiveFlush();
7073

7174
CompletionStage<Void> reactiveAutoflush();

0 commit comments

Comments
 (0)