sabyasachin
06-02-2013, 11:25 PM
I am getting OCI-21500 exception in my C++ code where I use RWDBConnection to connect oracle 11g.
My question is what exception can I catch if somehow it happens to use the same connection.
I using a code snippet like this:
newConnection.beginTransaction();
RWDBResult myResult=newConnection.executeSql(mySql);
RWDBTable myTable=myResult.table();
RWDBReader rdbReader = myTable.reader(newConnection);
Where "newConnection" is a RWDBConnection variable already having a valid connection, but may be used by another thread.
Can anybody please advise.
Saby
My question is what exception can I catch if somehow it happens to use the same connection.
I using a code snippet like this:
newConnection.beginTransaction();
RWDBResult myResult=newConnection.executeSql(mySql);
RWDBTable myTable=myResult.table();
RWDBReader rdbReader = myTable.reader(newConnection);
Where "newConnection" is a RWDBConnection variable already having a valid connection, but may be used by another thread.
Can anybody please advise.
Saby