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