Page 1 of 1

"Unknown error 1" in NET mode

Posted: Wed 11 Apr 2007 12:45
by darrin
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

Posted: Thu 12 Apr 2007 06:48
by Plash
We have reproduced this problem and we are working on it. You will be notified when we fix the problem.