Bug in exception message when using direct connection

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dados
Posts: 82
Joined: Thu 18 Aug 2005 14:06

Bug in exception message when using direct connection

Post by dados » Thu 30 Jan 2014 14:38

Hi,

There is a bug in the exception message property when connecting direct (not in OCI)
At least there must be a linebreak or a character in between the error code and the position
And also the message for the code is also missing

Using Direct connection
E.Message = 'ORA-243445/1 PLS-00103: Encountered the symbol.....
EOraError(E).ErrorCode = 24344

Using OCI
E.Message = 'ORA-24344: success with compilation error'#$A'5/1 PLS-00103: Encountered the symbol....
EOraError(E).ErrorCode = 24344

Reg,
Arni Thor

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

Re: Bug in exception message when using direct connection

Post by AlexP » Fri 31 Jan 2014 12:47

Hello,

Thank you for the information. We have reproduced the problem and will fix it in the next build.

Post Reply