Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -846,14 +846,16 @@ default Uni<Void> lock(Object entity, LockModeType lockModeType) {
Uni<Void> flush();

/**
* Asynchronously fetch an association that's configured for lazy loading.
* Asynchronously fetch an association configured for lazy loading.
* <p>
* <pre>
* {@code session.fetch(author.getBook()).thenAccept(book -> print(book.getTitle()));}
* </pre>
* </p>
* <p>
* It can also initialize proxys. For example:
* This operation may be even be used to initialize a reference returned by
* {@link #getReference(Class, Object)}.
* <p>
* <pre>
* {@code session.fetch(session.getReference(Author.class, authorId))}
* </pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -870,14 +870,16 @@ default CompletionStage<Void> lock(Object entity, LockModeType lockModeType) {
CompletionStage<Void> flush();

/**
* Asynchronously fetch an association that's configured for lazy loading.
* Asynchronously fetch an association configured for lazy loading.
* <p>
* <pre>
* {@code session.fetch(author.getBook()).thenAccept(book -> print(book.getTitle()))}
* </pre>
* </p>
* <p>
* It can also initialize proxys. For example:
* This operation may be even be used to initialize a reference returned by
* {@link #getReference(Class, Object)}.
* <p>
* <pre>
* {@code session.fetch(session.getReference(Author.class, authorId))}
* </pre>
Expand Down
Loading