Documente Academic
Documente Profesional
Documente Cultură
Upload a Document
Search Documents
Search Books, Presentations, Business, Academics
Explore
Documents
Books - Fiction
Books - Non-fiction
Health & Medicine
Brochures/Catalogs
Government Docs
How-To Guides/Manuals
Magazines/Newspapers
Recipes/Menus
School Work
+ all categories
Featured
Recent
People
Authors
Students
Researchers
Publishers
Government & Nonprofits
Businesses
Musicians
Artists & Designers
Teachers
+ all categories
Most Followed
Popular
Sign Up
|
Log In
Explore Content
Primary Authors: Eric Paapanen, Shelley Higgins, Susan Kotsovolos, Den Raphaely
Contributing Authors: K. Akiyama, Geeta Arora, S. Banerjee, Yujie Cao, T. H. Chang, E. Chong, S. Das,
C. Freiwald, C. Iyer, M. Jagannath, R. Krishnan, M. Krishnaprasad, S. Lari, Li-Sen Liu, D. Mullen,V.
Nimani, A. Roy, S. Shah, A. Shivarudraiah, J. Srinivasan, R. Toohey, Anh-Tuan Tran, G. Viswana, A.
Yalamanchi
The Programs (which include both the software and documentation) contain proprietary information of
Oracle Corporation; they are provided under a license agreement containing restrictions on use and
disclosure and are also protected by copyright, patent and other intellectual and industrial property
laws. Reverse engineering, disassembly or decompilation of the Programs, except to the extent required
to obtain interoperability with other independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems
in the documentation, please report them to us in writing. Oracle Corporation does not warrant that this
document isnoerror-free.
Programs, Except
part of these as maymay
Programs be expressly permitted
be reproduced in your license
or transmitted in anyagreement forany
form or by these
means,
electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation.
If the Programs are delivered to the U.S. Government or anyone licensing or using the programs on
behalf of the U.S. Government, the following notice is applicable:
Restricted Rights Notice Programs delivered subject to the DOD FAR Supplement are "commercial
computer software" and use, duplication, and disclosure of the Programs, including documentation,
shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement.
Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer
software" and use, duplication, and disclosure of the Programs shall be subject to the restrictions in FAR
52.227-19, Commercial Computer Software - Restricted Rights (June, 1987). Oracle Corporation, 500
Oracle Parkway, Redwood City, CA 94065.
The Programs
dangerous are not intended
applications. It shallfor
be use
the in any nuclear,
licensee's aviation, mass
responsibility transit,
to take medical, orfail-safe,
all appropriate other inherently
backup,
redundancy, and other measures to ensure the safe use of such applications if the Programs are used for
such purposes, and Oracle Corporation disclaims liability for any damages caused by such use of the
Programs.
Oracle is a registered trademark, and Gist, Oracle Store, Oracle7, Oracle8, Oracle8i, Oracle9i, PL/ SQL,
Pro*C, Pro*C/ C++, Pro*COBOL, and SQL*Plus are trademarks or registered trademarks of Oracle
Corporation. Other names may be trademarks of their respective owners.
Contents
Send Us Your Comments ............................................................................................................... xxxi
Preface...................................................................................................................................................... xxxiii
Audience ........................................................................................................................................... xxxiv
Organization ..................................................................................................................................... xxxiv
Related Documents......................................................................................................................... xxxvii
Conventions...................................................................................................................................... xxxix
1 Introduction to LOBs
Why Use LOBs?................................................................................................................................... 1-2
WhyUsing
Not XML, LOBs, and
Use LONGs? .......................................................................................................................
Oracle Text (interMedia Text)........................................................... 1-4
1-3
LONG-to-LOB Migration API .......................................................................................................... 1-5
iii
Extensible Indexing on LOBs ........................................................................................................... 1-6
Function-Based Indexing on LOBs .................................................................................................. 1-7
Accessing
Creating a that
Tables LOBContain
ThroughLOBs
a Locator.......................................................................................... 2-7
................................................................................................. 2-8
Initializing Internal LOBs to NULL or Empty .......................................................................... 2-8
Provide
Using PL/SQLa LOB Locator Before
(D BMS_LOB Invoking
Package) the DBMS_LOB
To Work Routine ....................................... 3-6
With LOBs ......................................................
PL/ SQL - LOB Guidelines........................................................................................................... 3-7
PL/ SQL
LOB Functions/
Values Procedures To Read or Examine Internal and External
.................................................................................................................................... 3-9
PL/ SQL Functions/ Procedures To Operate on Temporary LOBs........................................ 3-9
iv
OCI Functions To Modify Internal LOB (BLOB, CLOB, and NCLOB) Values.................. 3-14
OCI Functions To Read or Examine Internal LOB and External LOB (BFILE) Values .... 3-15
OCI
Using C++LOB Locator
(OCCI) Functions
To Work With......................................................................................................
LOBs ....................................................................................... 3-22 3-16
OCI LOB-Buffering
Distinct Functions
Classes for Each 3-16
.................................................................................................. 3-23
LOB Type.........................................................................................
OCCI Methods that Operate on BLOBs, BLOBs, NCLOBs, and BFILEs ............................ 3-26
OCCI Methods To Modify Internal LOB (BLOB, CLOB, and NCLOB) Values ................ 3-26
OCCI Methods To Read or Examine Internal LOB and BFILE Values............................... 3-27
OCCI Read-Only Methods For BFILEs ................................................................................... 3-27
Other
Using C/C++OCCI LOBTo
(Pro*C) Methods
Work w ith LOBs ................................................................................... 3-29
........................................................................................................ 3-27
First Provide
OCCI MethodsanTo
Allocated
Open andInput
Close Locator
Internal Pointer that Represents
and External LOB ............................ 3-29
LOBs ........................................ 3-28
Pro*C/ C++ Statements that Operate on BLOBs, CLOBs, NCLOBs, and BFILEs ............. 3-29
Pro*C/ C++ Embedded SQL Statements To Modify Internal LOB Values ........................ 3-30
Pro*C/ C++ Embedded SQL Statements For LOB Buffering ............................................... 3-32
Pro*C/
and C++ Embedded
External SQL Statements To Open and Close Internal
LOBs ...................................................................................................................... 3-32
OO4O Methods To Read or Examine Internal and External LOB Values.......................... 3-42
OO4O Methods To Open and Close External LOBs (BFILEs) ............................................. 3-42
OO4O
Using Java Read-Only
(JD BC) To Methods
Work w ithFor External
LOBs 3-45
3-43
........................................................................................
Lobs (BFILEs) ......................................................
3-45
Changing Internal Persistent LOBs Using Java ......................................................................
OO4O Properties For Operating on External LOBs (BFILEs) .............................................. 3-44
Reading Internal Persistent LOBs and External LOBs (BFILEs) with Java ........................ 3-45
Calling DBMS_LOB Package From Java (JDBC) .................................................................... 3-46
vi
vii
Application Developer's Guide - LOBs
Download this Document for FreePrintMobileCollectionsReport Document
This is a private document.
Geert Follow
Related Documents
PreviousNext
1.
p.
p.
p.
2.
p.
p.
p.
3.
p.
p.
p.
4.
p.
p.
p.
5.
p.
p.
p.
6.
p.
p.
p.
PreviousNext
1.
8 p.
162 p.
974 p.
2.
118 p.
964 p.
14 p.
3.
468 p.
900 p.
1524 p.
4.
374 p.
1496 p.
120 p.
5.
874 p.
1004 p.
376 p.
6.
528 p.
2740 p.
1968 p.
7.
1210 p.
532 p.
22 p.
8.
44 p.
156 p.
706 p.
9.
39 p.
Recent Readcasters
Add a Comment
Submit
Characters: 400
Upload a Document
Search Books, Presentations Search Documents
Follow Us!
scribd.com/scribd
twitter.com/scribd
facebook.com/scribd
About
Press
Blog
Partners
Scribd 101
Web Stuff
Scribd Store
Support
FAQ
Developers / API
Jobs
Terms
Copyright
Privacy
Subscribe to The Scribd Archive and download as many documents as you'd like.
Monthly Subscription
Most Popular
$9/mo.
1 Day Pass
$5
1 Year Pass
$59
Choose payment option
Pay with Credit Card
Pay with PayPal or Credit
* The Scribd Archive is a collection of millions of documents, including research reports, best-selling books, news
source materials, and more. Read the Scribd Archive FAQ for more information.