Session undefined ...

bastian76

Member
Hi!

i have a problem to put a blob into oracle 8 db. here's the c++ (bcb) src:

TLOBLocator * LOB = new TLOBLocator(OracleSession1, otBLOB);
OracleQry->DeclareVariable("C3", otBLOB);
OracleQry->SetComplexVariable("C3", LOB);
OracleQry->SQL->Clear();
OracleQry->SQL->Add("INSERT INTO log (data) VALUES (:C3)");
OracleQry->Execute();

I get every time the following error:
"SESSION UNDEFINED". But why? - my OracleSession1 is ok. Any ideas?

Tnx in advance
Sebastian
 
Back
Top