code: @Override
  	public List<String> getAllTags () throws DatabaseException {
      	SqlPreparedStatementWrapper psGetAllTags = null;
          try {
          	psGetAllTags = DbSQL.getSingleton().getPreparedStatement("tag.ps.getalltags");
  			List<String> result = new ArrayList<>();
  			try (ResultSet rs = psGetAllTags.getPs().executeQuery()) {
  				while (rs.next()) {
  					result.add(rs.getString(TAG));
  				}
  			}
  			
  			return result;
  		} catch (SQLException e) {
  			throw new DatabaseException(e);
  		} finally {
  			DbSQL.getSingleton().releasePreparedStatement(psGetAllTags);
  		}
      }
docs: /* (non-Javadoc)
  @see org.parosproxy.paros.db.paros.TableTag#getAllTags()