@Override
	public BluetoothReading parseResultRow(final ResultSet rs, int fromIndex) throws SQLException{
		BluetoothReading reading = new BluetoothReading();
		
		try {
			reading.setId(rs.getInt(fromIndex));
			reading.setFriendlyName(rs.getString(fromIndex + 1));
			reading.setBluetoothAddress(rs.getString(fromIndex + 2));
			reading.setMajorDeviceClass(rs.getString(fromIndex + 3));
			reading.setMinorDeviceClass(rs.getString(fromIndex + 4));		
		
		} catch (SQLException e) {
			log.log(Level.SEVERE, "parseResultRow failed: " + e.getMessage(), e);
			throw e;
		}
		
		return reading;
	}