code: public final List<Element> mapRowToList(final ResultSet rs, final String columnNameArray) throws SQLException {
          if (rs == null) {
              return Collections.emptyList();
          }
  
          final Array sqlArray = rs.getArray(columnNameArray);
  
          if (sqlArray == null) {
              return Collections.emptyList();
          } else {
              final ResultSet resultSet = sqlArray.getResultSet();
              final List<String> l = new ArrayList<String>();
              while (resultSet.next()) {
                  String test = resultSet.getString(2);
                  l.add(test);
              }
  
              List<Element> elements = new ArrayList<Element>(l.size());
              for (String s : l) {
                  try {
                      List<String> resultList = ParseUtils.postgresROW2StringList(s);
                      Element element = new Element();
                      element.setRowList(resultList);
                      elements.add(element);
                  } catch (Exception e) {
                      LOG.error("Problem parsing received ROW value [{}]: {}", new Object[] {s, e.getMessage(), e});
                  }
              }
  
              return elements;
          }
  
      }
docs: @param   rs
  @param   columnNameArray
  
  @return
  
  @throws  java.sql.SQLException