"Unknown error 1" in NET mode
Posted: 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:
(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
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
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
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)
...
ODAC 5.70.1.33 or ODAC 5.80.0.40
Orace 9.2.0.7