HHH-15324 Hibernate internally use Query#setHint with legacy java.persistence properties causing deprecation log warnings
This commit is contained in:
parent
9a5ee1a6df
commit
4d070f24f9
|
@ -310,7 +310,6 @@ public class SessionImpl
|
||||||
);
|
);
|
||||||
if ( specQueryTimeout != null ) {
|
if ( specQueryTimeout != null ) {
|
||||||
query.setHint( HINT_SPEC_QUERY_TIMEOUT, specQueryTimeout );
|
query.setHint( HINT_SPEC_QUERY_TIMEOUT, specQueryTimeout );
|
||||||
query.setHint( HINT_JAVAEE_QUERY_TIMEOUT, specQueryTimeout );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -326,7 +325,6 @@ public class SessionImpl
|
||||||
);
|
);
|
||||||
if ( specLockTimeout != null ) {
|
if ( specLockTimeout != null ) {
|
||||||
query.setHint( HINT_SPEC_LOCK_TIMEOUT, specLockTimeout );
|
query.setHint( HINT_SPEC_LOCK_TIMEOUT, specLockTimeout );
|
||||||
query.setHint( HINT_JAVAEE_LOCK_TIMEOUT, specLockTimeout );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue