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

(cherry picked from commit a98ebc4ed4)
This commit is contained in:
Gail Badner 2015-01-05 22:59:02 -08:00
parent 4bf3b162ad
commit cf728ede66
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 );