Direct Mode & big string parametr

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sinys
Posts: 186
Joined: Tue 21 Feb 2012 03:44

Direct Mode & big string parametr

Post by sinys » Thu 08 Aug 2013 08:56

Delphi XE2, ODAC 9.0.2 (Oracle 11)
Direct mode (with Oracle client it work fine)
Please look example

Code: Select all

begin
  -- Test statements here
  :result := 'n-oe число символов';
end;
where :result is string in/out parametr with size = 16777216 raise exception: string buffer is small

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Direct Mode & big string parametr

Post by AlexP » Thu 08 Aug 2013 10:41

Hello,

Thank you for the information, we have reproduced the problem and will investigate the reasons for this kind of behaviour.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Direct Mode & big string parametr

Post by AlexP » Mon 16 Sep 2013 10:51

Hello,

Maximum size of VARCHAR2 in PL/SQL is 32767 (according to the ORACLE documentation: http://docs.oracle.com/cd/E11882_01/app ... atypes.htm), we support this size correctly. Using variables of a larger size is incorrect.

Post Reply