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

BFILE

Extends oracle.sql.DatumWithConnection in Oracle9i, oracle.sql.Datum in Oracle8i.

Fields

MODE_READONLY
Static int. New with Oracle9i.
MODE_READWRITE
Static int. New with Oracle9i.

Methods

asciiStreamValue( )

Returns java.io.InputStream, which is a converted ASCII stream representation of the Datum object.

close( )

Closes a previously opened external LOB. New with Oracle9i.

closeFile( )

Closes the file.

fileExists( )

Returns a Boolean indicating whether the locator for a given BFILE points to a file that actually exists on the server’s filesystem.

getBinaryStream( )

Returns java.io.InputStream of the entire BFILE.

getBinaryStream(long pos )

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

getBytes(long pos , int length )

Returns byte[] as a copy of the contents of the BFILE at the requested position pos of length.

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

Returns int; copies the contents of the BFILE from pos with length to buf.

getConnection( )

Returns OracleConnection.

getDirAlias( )

Returns java.lang.String, the BFILE’s directory alias.

getJavaSqlConnection( )

Returns java.sql.Connection. New with Oracle9i.

getName( )

Returns java.lang.String with the BFILE’s filename.

isConvertibleTo(java.lang.Class jClass )

Returns a Boolean indicating whether this Data object can be converted to the specified Java datatype.

isFileOpen( )

Returns a Boolean indicating whether a BFILE was opened with the given BFILE.

isOpen( )

Returns a Boolean indicating ...

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