Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Failled connection after alter type

user8637406Mar 21 2014 — edited Mar 21 2014

Hi,

 I have a little problem in my development using oracle and C++.

 I need to modify a type in my Database. I used the "Alter type" function, and succeed in add a new attribute in my table.

 

The problem is, when i launch my program the function "createConnection()" fail and throw an exeption. I use createConnection's fonction from the

"Environment" class.

   

       if(occiEnv==NULL)

   {


          occiEnv = oracle::occi::Environment::createEnvironment((oracle::occi::Environment::Mode(oracle::occi::Environment::OBJECT | oracle::occi::Environment::THREADED_UNMUTEXED)));

     occiEnv->setCacheOptSize(1024*128);

   }

   RegisterMappings(occiEnv);

   Connection *occiConnection = occiEnv->createConnection(

 ...
catch (oracle::occi::SQLException &ex)
{
cerr << "sql exeption : [" << ex.getMessage() << "]" << std::endl;
}


I have the following output: sql exeption : [OCI-03113: Message 3113 not found;  product=RDBMS; facility=OCI


I have to specify that thess lines was working properly before my Database modification.

 

I dont realy know how Oracle works, so i have maybe forget to do something essential before launching my program (like a configuration file maybe).

 

 

Thanks for reading and i hope somebody will be able to find my problem

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 18 2014
Added on Mar 21 2014
2 comments
324 views