code: @Override
  	public synchronized List<RecordTag> getTagsForHistoryID (long historyId) throws DatabaseException {
      	try {
  			List<RecordTag> result = new ArrayList<>();
  			psGetTagsForHistoryId.setLong(1, historyId);
  			try (ResultSet rs = psGetTagsForHistoryId.executeQuery()) {
  				while (rs.next()) {
  					result.add(new RecordTag(rs.getLong(TAGID), rs.getLong(TAGID), rs.getString(TAG)));
  				}
  			}
  			
  			return result;
  		} catch (SQLException e) {
  			throw new DatabaseException(e);
  		}
      }
docs: /* (non-Javadoc)
  @see org.parosproxy.paros.db.paros.TableTag#getTagsForHistoryID(long)