6 Replies Latest reply: Apr 20, 2012 12:03 PM by 930153 RSS

    Metadata access problem

    930153
      Hi.
      I'm new be to oracle OCCI and i'm trying to develop my application, i'd like to work with metadata but when i try ro retrive metadata from vector compiler give me an Access violation.
      I'm not the db admin.
      I'm using VS C++ 2008 and Oracle OCCI 11 32 bit libraries

      std::vector<oracle::occi::MetaData> md = rRes->getColumnListMetaData();

                for(int iCount=0;iCount<11;iCount++)
                {
                
                std::cout<<"Column Name:"<<(md[iCount].getString(oracle::occi::MetaData::ATTR_NAME))<<std::endl;
                     std::cout<<"Data Type:"<<(md[iCount].getInt(oracle::occi::MetaData::ATTR_SCHEMA_NAME))<<std::endl;
                
                     
                }

      Any one can help me?

      Thank's