Larger Blob field on Oracle

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Zanette
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 29.11.2005, 13:16

Larger Blob field on Oracle

Post by Zanette »

I'm using Zeos 6.5.1 on Oracle 10g, Delphi 7, Windows.
I have a XML data with 8Kb that need to be saved on a 'LONG RAW' field.
When I call ZQuery.Post, it saves only 4000 bytes.
In BDE and DOA it works fine.

thanks
Marcelo Zanette
ssamayoa
Junior Boarder
Junior Boarder
Posts: 29
Joined: 14.01.2006, 19:06

Post by ssamayoa »

I'm investigating this issue since I want to access relative big BLOBs and BFILEs.

Regards.
ssamayoa
Junior Boarder
Junior Boarder
Posts: 29
Joined: 14.01.2006, 19:06

Post by ssamayoa »

FWIW, I found that LOB and CLOB are fetched and sent back to the database as RAW not with LOB locators.

Increasing the size of LOB and CLOB which can be readed and write is a matter of haking a bit in TZOracleResultSet.Open (I guess that where DBX driver sets its limit) but support for BFILE will be more dificult.

Regards.
rzufall
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 19.09.2006, 12:43

Post by rzufall »

Hi,

i know that the last post is a few month ago, but has someone a
solution for reading BLOB-fields?

I use Oracle9i and I can save the files in the db. But if I read the
blob-fields I also get the error "ORA-01406: fetched column value was truncated" :(

Thanks,

Rainer
Post Reply