Given the following SQL in a TOracleQuery:
begin
sv.UpdateOrderZERT
ORDERNO, :ITEMNO, :OFFERID, :ZERT);
end;
All the variables are defined as otInteger except for :ZERT which is defined as otCLOB. I'm trying to use a TLOBLocator and SetComplexVariable to set the value of :ZERT. When I try to write a PChar buffer to the TLOBLocator I get an Invalid Handle exception. After going over the DOA documentation and the Oracle docs it seems I can't do this. You need to have a LOB object defined on the server that the TLOBLocator is associated with. Any ideas on how to make this work?
Craig Jensen
craig.jensen@powerquest.com
begin
sv.UpdateOrderZERT

end;
All the variables are defined as otInteger except for :ZERT which is defined as otCLOB. I'm trying to use a TLOBLocator and SetComplexVariable to set the value of :ZERT. When I try to write a PChar buffer to the TLOBLocator I get an Invalid Handle exception. After going over the DOA documentation and the Oracle docs it seems I can't do this. You need to have a LOB object defined on the server that the TLOBLocator is associated with. Any ideas on how to make this work?
Craig Jensen
craig.jensen@powerquest.com