docs: @Override
  	public synchronized List<RecordAlert> getAlertsBySourceHistoryId(int historyId) throws DatabaseException {
          try {
  			List<RecordAlert> result = new ArrayList<>();
  			psGetAlertsForHistoryId.setLong(1, historyId);
  			try (ResultSet rs = psGetAlertsForHistoryId.executeQuery()) {
  			    RecordAlert ra = build(rs);
  			    while (ra != null) {
  			        result.add(ra);
  			        ra = build(rs);
  			    }
  			}
  			
  			return result;
  		} catch (SQLException e) {
  			throw new DatabaseException(e);
  		}
      }