Skip to content

Commit

Permalink
HHH-15324 Hibernate internally use Query#setHint with legacy java.per…
Browse files Browse the repository at this point in the history
…sistence properties causing deprecation log warnings
  • Loading branch information
dreab8 authored and beikov committed Jun 15, 2022
1 parent 9a5ee1a commit 4d070f2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ protected void applyLockOptionsHint(SelectionQuery<?> query) {
);
if ( specQueryTimeout != null ) {
query.setHint( HINT_SPEC_QUERY_TIMEOUT, specQueryTimeout );
query.setHint( HINT_JAVAEE_QUERY_TIMEOUT, specQueryTimeout );
}
}

Expand All @@ -326,7 +325,6 @@ protected void applyQuerySettingsAndHints(Query<?> query) {
);
if ( specLockTimeout != null ) {
query.setHint( HINT_SPEC_LOCK_TIMEOUT, specLockTimeout );
query.setHint( HINT_JAVAEE_LOCK_TIMEOUT, specLockTimeout );
}
}

Expand Down

0 comments on commit 4d070f2

Please sign in to comment.