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( ) ...

Get Oracle in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.