public void read(ResultSet pResultSet, StockQuote pQuote) throws SQLException { pQuote.setOpen(new Price(pResultSet.getFloat("OPEN"))); if (pResultSet.wasNull()) pQuote.setOpen(null); }