Hi, I am trying to set a clob parameter in an oracle query, using the following code:
LOB := TLOBLocator.Create(Session, otBlob);
TIdText(Msg.MessageParts.Items).body.SaveToStream(LOB);
QyInsertAttachment.SetComplexVariable('BOOKC_NOTE', LOB);
but when execute the saveToStrean instruction, I get the an exception with message 'TLobLocator invalid handle'.
I am using rad studio 2007, Oracle 10g and doa 410.
Some idea about this?
Thanks very much
LOB := TLOBLocator.Create(Session, otBlob);
TIdText(Msg.MessageParts.Items).body.SaveToStream(LOB);
QyInsertAttachment.SetComplexVariable('BOOKC_NOTE', LOB);
but when execute the saveToStrean instruction, I get the an exception with message 'TLobLocator invalid handle'.
I am using rad studio 2007, Oracle 10g and doa 410.
Some idea about this?
Thanks very much