Firstly I am not quite sure if this is the newsgroup to post to. If I
am in error, please let me know the right one to post to.
I am using the C++ interface that is provided with Oracle 9i. The way
to do it according to the examples is to first create an instance of
an Environment class, create a connection and then create Statement(s)
to execute the SQL. What I am trying to do is to reuse the Environment
and the Connection object and create Statement objects as and when
needed and then terminate the statement.
What happens is that I am able to create Statement(s) from the
connection object initially and after doing so a couple or so time,
the createStatement fails and the program dumps core. The core file
has the message ORA-1403 embedded in it(from the strings part of it)
Do I need to do some sort of a cleanup ?
Also the program works fine if I create the Environment and Connection
object repeatedly instead of persisting with just one of each.
TIA