Skip to Main Content
Oracle in a Nutshell
book

Oracle in a Nutshell

by Rick Greenwald, David C. Kreines
December 2002
Intermediate to advanced content levelIntermediate to advanced
928 pages
85h 29m
English
O'Reilly Media, Inc.
Content preview from Oracle in a Nutshell

BLOB

Extends oracle.sql.DatumWithConnection in Oracle9i, oracle.sql.Datum in Oracle8i. Implements java.sql.Blob in Oracle 9i and oracle.jdbc2.Blob in Oracle8i.

Fields

DURATION_CALL
Static int, new with Oracle9i
DURATION_SESSION
Static int, new with Oracle9i
MAX_CHUNK_SIZE
Static int
MODE_READONLY
Static int, new with Oracle9i
MODE_READWRITE
Static int, new with Oracle9i

Methods

close( )

Closes a previously opened BLOB. New with Oracle9i.

createTemporary(java.sql.Connection conn , Boolean cache , int duration )

Returns BLOB as temporary BLOB. Static method. New with Oracle9i.

empty_lob( )

Returns BLOB as empty lob. Static method.

freeTemporary( )

Frees the contents and the locator of the temporary BLOB. New with Oracle9i.

freeTemporary(BLOB temp_lob )

Frees the contents and the locator of the temporary BLOB. Static method. New with Oracle9i.

getBinaryOutputStream( )

Returns java.io.OutputStream.

getBinaryOutputStream(long pos )

Returns java.io.OutputStream, a stream from pos. New with Oracle9i.

getBinaryStream( )

Returns java.io.InputStream as the BLOB interface function.

getBinaryStream(long pos )

Returns java.io.InputStream as a stream from pos. New with Oracle9i.

getBufferSize( )

Returns int.

getBytes(long pos, int length )

Returns byte[] as the BLOB interface function.

getBytes(long pos , int , byte[] buf )

Returns java.io.InputStream from pos in buf of length.

getChunkSize( )

Returns int.

getConnection( )

Returns OracleConnection.

getJavaSqlConnection( ) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Oracle PL/SQL

Oracle PL/SQL

Lewis Cunningham
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern

Publisher Resources

ISBN: 0596003366Errata Page