@Override
	public WiFiReading parseResultRow(final ResultSet rs, int fromIndex) throws SQLException{
		WiFiReading reading = new WiFiReading();
		
		try {
			reading.setId(rs.getInt(fromIndex));
			reading.setBssid(rs.getString(fromIndex + 1));
			reading.setSsid(rs.getString(fromIndex + 2));
			reading.setRssi(rs.getInt(fromIndex + 3));
			reading.setWepEnabled(rs.getBoolean(fromIndex + 4));
			reading.setInfrastructure(rs.getBoolean(fromIndex + 5));
		
		} catch (SQLException e) {
			log.log(Level.SEVERE, "parseResultRow failed: " + e.getMessage(), e);
			throw e;
		}
		
		return reading;
	}