code: private void populateMetaData() throws SQLException
     {
        m_meta.clear();
  
        ResultSetMetaData meta = m_rs.getMetaData();
        int columnCount = meta.getColumnCount() + 1;
        for (int loop = 1; loop < columnCount; loop++)
        {
           String name = meta.getColumnName(loop);
           Integer type = Integer.valueOf(meta.getColumnType(loop));
           m_meta.put(name, type);
        }
     }
docs: Retrieves basic meta data from the result set.
  
  @throws SQLException