Oracle BLOB

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
abed
Posts: 15
Joined: Mon 27 Apr 2009 16:39

Oracle BLOB

Post by abed » Fri 15 May 2009 14:31

trying to post a bmp file in blob oracle field i allways get this exception
Unknown ValueType = 31 (D:\Projects\Delphi\Dac\Source\MemData.pas, line 5693)
the code is

qrUQ.Edit;
DestStream := qrUQ.FieldByName(cBlob) As TBlobField;
DestStream.LoadFromFile('temp.bmp');
qrUQ.Post;
any idea?

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

Post by Plash » Tue 19 May 2009 09:58

This problem is not related to BLOB. It occurs if your query has a field of TIMESTAMP data type. We have fixed this problem. The fix will be included in the next build of UniDAC.

Post Reply