HHH-9401 : SQL warnings are never logged due to incorrect condition check
This commit is contained in:
parent
72b1b620a5
commit
a98ebc4ed4
|
@ -248,7 +248,7 @@ public class SqlExceptionHelper {
|
||||||
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…
Reference in New Issue