"Unknown error 1" in NET mode

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
darrin
Posts: 7
Joined: Wed 11 Apr 2007 12:13

"Unknown error 1" in NET mode

Post by darrin » Wed 11 Apr 2007 12:45

Hello.

I has found a problem of convert CLOB value to CHAR in NET mode.
When i selecting data from table whitch contains CLOB field by query like this:

Code: Select all

   select to_char(c.scontent) as sContent from MyTable c
(scontent - is a CLOB field)
application stoping or Exception raising:
---------------------------
Debugger Exception Notification
---------------------------
Project ODAC_NET.exe raised exception class N_19 with message 'Unknown error 1'. Process stopped. Use Step or Run to continue.

Exception raising on Line 5871 OraClasses.pas

Code: Select all

function TOCICommand.InternalFetch8(Rows: word; Orientation: integer; Offset: integer): word;
...
   Res := OCIStmtFetch(FCursorRef.OCIStmt, hOCIError, Rows, OCI_FETCH_NEXT, OCI_DEFAULT)
...
If i execute this query in not NET mode (through OCI) it works propertly.

ODAC 5.70.1.33 or ODAC 5.80.0.40
Orace 9.2.0.7

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 12 Apr 2007 06:48

We have reproduced this problem and we are working on it. You will be notified when we fix the problem.

Post Reply