ODAC 6.00.0.5: Problem with autogenerated update SQL related to lobs
Posted: Tue 10 Apr 2007 19:29
Hi Folks!
I'm having a problem editing queries that contain lob fields. For example, if I try to edit the ODAC_BLOB table (from one of the demo apps) DBMonitor shows the following SQL returning an error:
UPDATE "ODAC_BLOB"
SET
"TITLE" = :"TITLE"
WHERE
"ID" = :"Old_ID"
RETURNING
INTO
(Note the empty line after returning and INTO.)
If I test using the following table:
create table clob_test2 (
id number(38) primary key,
nm varchar2(100),
cl1 clob,
bl1 blob);
I get an update statement that looks like:
UPDATE "CLOB_TEST2"
SET
"NM" = :"NM""BL1"=NULL
WHERE
"ID" = :"Old_ID"
RETURNING
"BL1"
INTO
:"BL1"
(I only changed the NM field.)
Thanks for any help!
-Mark
I'm having a problem editing queries that contain lob fields. For example, if I try to edit the ODAC_BLOB table (from one of the demo apps) DBMonitor shows the following SQL returning an error:
UPDATE "ODAC_BLOB"
SET
"TITLE" = :"TITLE"
WHERE
"ID" = :"Old_ID"
RETURNING
INTO
(Note the empty line after returning and INTO.)
If I test using the following table:
create table clob_test2 (
id number(38) primary key,
nm varchar2(100),
cl1 clob,
bl1 blob);
I get an update statement that looks like:
UPDATE "CLOB_TEST2"
SET
"NM" = :"NM""BL1"=NULL
WHERE
"ID" = :"Old_ID"
RETURNING
"BL1"
INTO
:"BL1"
(I only changed the NM field.)
Thanks for any help!
-Mark