Stefan Heymann
Member
I have the following problem: I have a package function which expects a CLOB as an IN parameter and writes the passed data to the DB.
The Package Wizard creates the following prototype for this function:
When I try to write data using this function I get an access violation error. My test code is:
What's going wrong here?
The Package Wizard creates the following prototype for this function:
Code:PL/SLQ: function CL_Write( arg_key in varchar2, arg_name in varchar2, arg_value in clob ) return integer; Delphi: function ClWrite(const ArgKey: string; const ArgName: string; ArgValue: TLOBLocator): Double;
When I try to write data using this function I get an access violation error. My test code is:
Code:var LL: TLobLocator; begin LL := TLobLocator.Create(Session, otClob); try ClWrite (aKey, aName, LL); LL.AsString := 'A'; finally LL.Free; end; end;
What's going wrong here?