static SQLWarning convertShowWarningsToSQLWarnings(Connection connection) throws SQLException {
  return convertShowWarningsToSQLWarnings(connection,0,false);
}

static SQLWarning convertShowWarningsToSQLWarnings ( Connection connection ) throws SQLException { return convertShowWarningsToSQLWarnings ( connection , 0 , false ) ; }
turns output of ' show warnings ' into jdbc sqlwarning instances . if ' fortruncationonly ' is true , only looks for truncation warnings , and actually throws datatruncation as an exception .
