mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 09:05:21 +00:00
HHH-9401 : SQL warnings are never logged due to incorrect condition check
(cherry picked from commit a98ebc4ed4580daf0282abde45838e3f6184aef8)
This commit is contained in:
parent
4bf3b162ad
commit
cf728ede66
@ -248,7 +248,7 @@ protected void logWarning(
|
|||||||
public void walkWarnings(
|
public void walkWarnings(
|
||||||
SQLWarning warning,
|
SQLWarning warning,
|
||||||
WarningHandler handler) {
|
WarningHandler handler) {
|
||||||
if ( warning == null || handler.doProcess() ) {
|
if ( warning == null || !handler.doProcess() ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
handler.prepare( warning );
|
handler.prepare( warning );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user