Oracle Objects for OLE
Release 8.1.7

Part Number A85257-01

Library

Product

Contents

Migration from Long Raw to LOB/BFILE

Oracle8i introduces the following new types:

· BLOB

· CLOB

· BFILE

The design of these types allow Oracle Objects for OLE to access them much faster than Long or Long Raw. For this reason you should convert existing Long Raw code to BLOB, CLOB and BFILE.

To make migration easier, the AppendChunk, AppendChunkByte, GetChunk, GetChunkByte, GetChunkByteEx, and ReadChunk methods can be used with BLOBs, CLOBs, and BFILEs. However, new applications should only use LOBs and BFILEs. The OraLOB object should be used to access LOBs and BFILEs, rather than these Long Raw chunking methods which are provided for backward compatibility only. Note that OraLob offers maximum control.

For older applications using the Long Raw chunking methods, migration should be relatively simple with few code changes required. The primary code changes involve the requirement that NULL BLOBs and CLOBs be updated with "Empty" before being used.


 
Oracle
Copyright copy; 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents