Print Thread
Blob problem
#1784 03/09/01 06:41 PM
Joined: Jul 2000
Posts: 10
Groningen, Holland
B
brekhof Offline OP
Member
OP Offline
Member
B
Joined: Jul 2000
Posts: 10
Groningen, Holland
Using Oracle 8.0.4 (on NT) with DOA 3.4.3 I've create this sequence of code:
DM.ExecQuery.CloseAll;
DM.ExecQuery.SQL.Clear;
DM.ExecQuery.DeleteVariables;
DM.ExecQuery.SQL.Add('select '+tbl+'.'+'*, '+tbl+'.rowid'+' from '+tbl+' '+whr);
DM.ExecQuery.Open;
DM.ExecQuery.Edit;
DM.ExecQuery.FieldByName(fld).AsString := params.items[3].AsString;
DM.ExecQuery.Post;

DM.ExecQuery is a TOracleDataset and the field I'm trying to store the data in is a Blob field. The whole sequence runs ok and setting 'debug=true' for DM.ExecQuery gives no error. Still no data is stored in the blobfield and I'm not able to find out why.

Any suggestions?

regards,
Martin
ps. I'm using a TOracleDataSet so I will not have to use a TLobLocator etc. This is what I understood from the manual as possible.

Re: Blob problem
#1785 03/10/01 04:30 PM
Joined: Aug 1999
Posts: 22,217
Member
Offline
Member
Joined: Aug 1999
Posts: 22,217
Perhaps you can use the Oracle Monitor to find out if any data is written to the BLOB?

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations
Re: Blob problem
#1786 03/10/01 09:30 PM
Joined: Jul 2000
Posts: 10
Groningen, Holland
B
brekhof Offline OP
Member
OP Offline
Member
B
Joined: Jul 2000
Posts: 10
Groningen, Holland
[quote]Originally posted by mkalter:
Perhaps you can use the Oracle Monitor to find out if any data is written to the BLOB?

[/quote]

Should have thought about that myself..
I discovered a client that had a connection to the same table, I didn't think it had a lock but killing that program got me further. After tis I set the NullLOBIsEmpty to true and it looks like it is functioning.

thanks,
Martin


[This message has been edited by brekhof (edited 12 March 2001).]


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.056s Queries: 12 (0.019s) Memory: 2.5051 MB (Peak: 3.0421 MB) Data Comp: Off Server Time: 2024-05-14 00:03:32 UTC
Valid HTML 5 and Valid CSS