Skip to content

Commit 63cd786

Browse files
committed
add javadoc to QueryProducer
1 parent 4d5ac00 commit 63cd786

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/mutiny/Mutiny.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,13 @@ default Query<R> setLockMode(String alias, LockModeType lockModeType) {
485485
Query<R> enableFetchProfile(String profileName);
486486
}
487487

488+
/**
489+
* Operations common to objects which act as factories for instances of
490+
* {@link Query}. This is a common supertype of {@link Session} and
491+
* {@link StatelessSession}.
492+
*
493+
* @since 3.0
494+
*/
488495
interface QueryProducer {
489496
/**
490497
* Create an instance of {@link SelectionQuery} for the given HQL/JPQL

hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,13 @@ default Query<R> setLockMode(String alias, LockModeType lockModeType) {
483483
Query<R> setComment(String comment);
484484
}
485485

486+
/**
487+
* Operations common to objects which act as factories for instances of
488+
* {@link Query}. This is a common supertype of {@link Session} and
489+
* {@link StatelessSession}.
490+
*
491+
* @since 3.0
492+
*/
486493
interface QueryProducer {
487494
/**
488495
* Create an instance of {@link SelectionQuery} for the given HQL/JPQL

0 commit comments

Comments
 (0)