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

OracleStatement

Extends the java.sql.Statement interface. OracleCallableStatement and OraclePreparedStatement are subinterfaces. OracleStatement is a class in oracle.jdbc.driver in Oracle8i, with additional methods. See the Oracle documentation for details.

Fields

EXPLICIT
Static int
IMPLICIT
Static int
NEW
Static int

Methods

clearDefines( )

Clears previously defined types for the define columns of this statement.

closeWithKey(java.lang.String key )

The underlying cursor is not closed and the statement handle is cached on the key, while the state, data, and metadata are not cleared. The statement can be retrieved with this key later. Oracle8i only.

creationState( )

Deprecated with Oracle9i.

defineColumnType(int column_index , int type )

Defines the type you will use to retrieve data from a particular database table column column_index.

defineColumnType(int column_index , int type, int max_size )

Defines the type you will use to retrieve data from a particular database table column column_index with a max_ size.

defineColumnType(int column_index , int typeCode , java.lang.String typeName )

Defines the typeCode you will use to retrieve data from a particular database table column column_index with column name typeName.

defineColumnTypeBytes(int column_index , int type , int max_size )

Defines the type you will use to retrieve data from a particular database table column column_index and the maximum size of data in bytes.

defineColumnTypeChars(int column_index , int type
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