HHH-9401 : SQL warnings are never logged due to incorrect condition check

This commit is contained in:
Gail Badner 2015-01-05 22:59:02 -08:00
parent 72b1b620a5
commit a98ebc4ed4
1 changed files with 1 additions and 1 deletions

View File

@ -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 );