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 @@ -485,6 +485,13 @@ default Query<R> setLockMode(String alias, LockModeType lockModeType) {
Query<R> enableFetchProfile(String profileName);
}

/**
* Operations common to objects which act as factories for instances of
* {@link Query}. This is a common supertype of {@link Session} and
* {@link StatelessSession}.
*
* @since 3.0
*/
interface QueryProducer {
/**
* Create an instance of {@link SelectionQuery} for the given HQL/JPQL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,13 @@ default Query<R> setLockMode(String alias, LockModeType lockModeType) {
Query<R> setComment(String comment);
}

/**
* Operations common to objects which act as factories for instances of
* {@link Query}. This is a common supertype of {@link Session} and
* {@link StatelessSession}.
*
* @since 3.0
*/
interface QueryProducer {
/**
* Create an instance of {@link SelectionQuery} for the given HQL/JPQL
Expand Down
Loading