Skip Headers

Oracle® Database JDBC Developer's Guide and Reference
10g Release 1 (10.1)

Part Number B10979-01
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Master Index
Master Index
Go to Feedback page

Go to previous page
View PDF


A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 


absolute positioning in result sets,
absolute() method (result set),
acceptChanges() method, 18.6
accumulateBatchResult connection property,
addBatch() method,
addRowSetListener() method, 18.4
afterLast() method (result sets),
ANO (Oracle Advanced Security), 23.1
connecting to a database, 23.2.1
deploying in an HTML page, 23.2.5
packaging, 23.2.4, 23.2.4
packaging and deploying,
signed applets
browser security,
object-signing certificate,
using signed applets,
using with firewalls, 23.2.3
working with, 23.2
ARCHIVE, parameter for APPLET tag,
objects, creating,,
array descriptor
ArrayDescriptor object,,
get methods,
setConnection() method,
defined, 16.1
named, 16.1
passing to callable statement,
retrieving from a result set,
retrieving partial arrays,
using type maps, 16.5
working with, 16.1
ASO (Oracle Advanced Security), 23.1
authentication (security), 23.1.2
auto-commit mode
disabling, 26.2.1
result set behavior, 26.2.1


batch updates--see update batching
batch value
checking value,
connection batch value, setting,
connection vs. statement value, 22.1.2
default value,
overriding value,
statement batch value, setting,
beforeFirst() method, 18.6
beforeFirst() method (result sets),
accessing data, 14.6.4
creating and populating columns, 14.6.3
introduction, 14.1
getting from a result set,
getting from callable statement,
passing to callable statements,
passing to prepared statements,
manipulating data, 14.6.4
reading data, 14.6.2
BFILE locator, selecting,
BigDecimal mapping (for attributes),
creating and populating, 14.2.3
creating columns,
getting locators,
interface changes, 5.6
introduction, 14.1
getting from result set,
manipulating data, 14.2.4
populating columns,
reading data, 14.2.2,
writing data,
size limit with PL/SQL prodcedures,
Boolean parameters, restrictions, 26.3.3
branch qualifier (distributed transactions), 9.2.5


CachedRowSet, 18.6
caching, client-side
custom use for scrollable result sets,
Oracle use for scrollable result sets,
callable statement
getting a BFILE locator,
getting LOB locators,
passing BFILE locator,
passing LOB locators,
using getOracleObject() method,
cancelRowUpdates() method (result set), 17.4.2
casting return values, 11.3.5
catalog arguments (DatabaseMetaData), 24.4.5
CHAR class
conversions with KPRB driver, 23.3.6
CHAR columns
space padding, 26.3.1
using setFixedCHAR() to match in WHERE,
character sets,
conversions with KPRB driver, 23.3.6
code example,
setting parameters in Java,
support by OCI drivers,
support by Thin driver,
CLASSPATH, specifying, 2.2.2
clearBatch() method,
clearClientIdentifier() method,
clearDefines() method, 22.2.2
creating and populating, 14.2.3
creating columns,
interface changes, 5.6
introduction, 14.1
getting from result set,
passing to callable statements,
passing to prepared statement,
locators, selecting,
manipulating data, 14.2.4
populating columns,
reading data, 14.2.2,
writing data,
close(), 6.1.3
close() method,,,, 26.3.2
for caching statements, 6.2.3,
closeFile() method, 14.6.5
closeWithKey(), 6.1.3
closeWithKey() method, 6.2.5,
CMAN.ORA file, creating,
CODE, parameter for APPLET tag,
CODEBASE, parameter for APPLET tag,
defined, 16.1
collections (nested tables and arrays),
column types
defining, 22.2.2
redefining, 22.2
commit a distributed transaction branch,
commit changes to database, 4.1.8
forward and backward,
CONCUR_READ_ONLY result sets, 17.2.1
CONCUR_UPDATABLE result sets, 17.2.1
concurrency types in result sets,
connect string
Connection Manager,
closing, 4.1.9
from KPRB driver, 1.4.2
opening, 4.1.2
opening for JDBC Thin driver,
Connection Manager, 23.2.1
using multiple managers,
writing the connect string,
connection methods, JDBC 2.0 result sets, 17.8.1
connection properties
put() method,
read-only, 26.5
constants for SQL types,
for BFILEs,
CREATE TABLE statement
to create BFILE columns,
to create BLOB, CLOB columns, 14.2.3
CREATE TYPE statement, 13.4.1
create() method
for ORADataFactory interface,
createDescriptor() method,,
createStatement(), 6.1.3
createStatement() method,,
createTemporary() method, 14.4
creationState() method, 6.2.2
code example, 6.2.2
limitations, 24.4.1
cursors, 26.3.2
custom collection classes
and JPublisher, 16.6
defined, 16.1.1, 16.6
custom Java classes, 10.2.2
defined, 13.1
custom object classes
creating, 13.3
defined, 13.1
custom reference classes
and JPublisher, 15.5
defined, 15.1, 15.5


data conversions, 11.1
data sources
creating and connecting (with JNDI), 3.1.4
creating and connecting (without JNDI), 3.1.3
logging and tracing, 3.1.5
Oracle implementation,
PrintWriter, 3.1.5
standard interface,
data streaming
from an applet, 23.2.1
via multiple Connection Managers,
with server-side internal driver, 23.3.1
connection testing, 2.2.5
database connection
connection property,
database meta data methods, JDBC 2.0 result sets, 17.8.4
database specifiers, 3.2
database URL
including userid and password,
database URL, specifying,
database URLs
and database specifiers, 3.2
DatabaseMetaData calls, 24.4.5
DatabaseMetaData class, 24.3.3
entry points for applets, 23.2.4
datasources, 3.1
and JNDI, 3.1.4
datatype classes,
datatype mappings, 4.3
Java, 4.3
Java native, 4.3
JDBC, 4.3
Oracle SQL, 4.3
DATE class,
debugging JDBC programs, 26.4
DEFAULT_CHARSET character set value,
defaultBatchValue connection property,
defaultConnection() method, 23.3.1
defaultExecuteBatch connection property,
defaultNchar connection property,
defaultRowPrefetch connection property,
defineColumnType() method,,, 22.2.2
DELETE in a result set, 17.4.1
deleteRow() method (result set), 17.4.1
deletesAreDetected() method (database meta data), 17.7.3
ArrayDescriptor object,
creating a StructDescriptor object,
creating an ArrayDescriptor object,
definition of,,
StructDescriptor object,
disableDefineColumnType connection property,
escape processing,
distributed transaction ID component, 9.2.5
distributed transactions
branch qualifier, 9.2.5
check for same resource manager,
commit a transaction branch,
components and scenarios, 9.1.1
concepts, 9.1.2
distributed transaction ID component, 9.2.5
end a transaction branch,
example of implementation, 9.4
global transaction identifier, 9.2.5
ID format identifier, 9.2.5
introduction, 9.1
Oracle XA connection implementation, 9.2.2
Oracle XA data source implementation, 9.2.1
Oracle XA ID implementation, 9.2.5
Oracle XA optimizations, 9.3.4
Oracle XA resource implementation, 9.2.3
prepare a transaction branch,
roll back a transaction branch,
start a transaction branch,
transaction branch ID component, 9.2.5
XA connection interface, 9.2.2
XA data source interface, 9.2.1
XA error handling, 9.3.3
XA exception classes, 9.3.1
XA ID interface, 9.2.5
XA resource functionality, 9.2.4
XA resource interface, 9.2.3
and end-to-end matrics, 21.1
DMSName connection property,
DMSType connection property,
restrictions on use,


code example,
overview, 23.1.3
setting parameters in Java,
support by OCI drivers,
support by Thin driver,
end a distributed transaction branch,
end-to-end matrics
and DMS, 21.1
end-to-end metrics, 21
Enterprise Java Beans (EJB), 18.6
environment variables
specifying, 2.2.2
general JDBC message structure, A.1
general JDBC messages, listed, A.2
processing exceptions, 4.6
TTC messages, listed, A.4
escape processing
printing stack trace, 4.6.2
retrieving error code, 4.6.1
retrieving message, 4.6.1
retrieving SQL state, 4.6.1
execute() method, 18.7
executeBatch() method,
executeQuery() method,
executeUpdate() method,
explicit statement caching
definition of, 6.1.3
null data,
extensions to JDBC, Oracle, 10, 11, 13, 15, 16, 22
external changes (result set)
defined, 17.7
seeing, 17.7.2
visibility vs. detection, 17.7.3
external file


fast connection, 8
fast connection failover, 8
prerequisites, 8.2.1
fetch direction in result sets,
fetch size, result sets, 17.5
finalizer methods, 26.3.2
configuring for applets,
connect string,
described, 23.2.3
required rule list items,
using with applets,, 23.2.3
first() method (result sets),
fixedString connection property,
floating-point compliance, 24.4.4
restrictions on use,
format identifier, transaction ID, 9.2.5
forward-only result sets,
freeTemporary() method, 14.4, 14.4
function call syntax, SQL92 syntax, 24.3.6


getARRAY() method,
getArray() method,, 16.3.3,
using type maps,
getArrayType() method,
getAsciiStream() method,,
for reading CLOB data, 14.2.2
getAttributes() method
used by Structs,
getAutoBuffering() method
of the oracle.sql.ARRAY class, 16.3.2
of the oracle.sql.STRUCT class, 13.2.5
getBaseName() method,
getBaseType() method,,,
getBaseTypeName() method, 15.2.2,
getBinaryStream() method,, 14.6.5
for reading BFILE data, 14.6.2
for reading BLOB data, 14.2.2
getBufferSize() method,,
getBytes() method,,,, 14.6.5
getCallWithKey(), 6.1.3
getCallWithKey() method,,
getCharacterStream() method,,
for reading CLOB data, 14.2.2
getChars() method,
getChunkSize() method,,
getColumnCount() method, 11.4
getColumnName() method, 11.4
getColumns() method, 22.2.3
getColumnType() method, 11.4
getColumnTypeName() method, 11.4
getConcurrency() method (result set),
getConnection() method,, 19.1.5, 23.3.1
getCursor() method, 10.5.2,
getCursorName() method
limitations, 24.4.1
getDefaultExecuteBatch() method,,
getDefaultRowPrefetch() method,,
getDescriptor() method,,
getDirAlias() method, 14.6.4, 14.6.5
getErrorCode() method (SQLException), 4.6.1
getExecuteBatch() method,,,
getFetchSize() method, 17.5.1
getJavaSQLConnection() method,,
getJavaSqlConnection() method,
getMaxLength() method,
getMessage() method (SQLException), 4.6.1
getName() method, 14.6.4, 14.6.5
getNumericFunctions() method, 24.3.3
getObject() method
casting return values, 11.3.5
for object references, 15.3.1
for ORAData objects,
for SQLInput streams,
for SQLOutput streams,
for Struct objects,
return types, 11.3.1, 11.3.3
to get BFILE locators,
to get Oracle objects,
used with ORAData interface,
getOracleArray() method,,,
getOracleAttributes() method,,
getOracleObject() method,,
casting return values, 11.3.5
return types, 11.3.2, 11.3.3
using in callable statement,
using in result set,
getOraclePlsqlIndexTable() method, 19.4.1,,
int paramIndex,
code example,
getORAData() method,,
getPassword() method,
getPlsqlIndexTable() method, 19.4.1,,,,
Class primitiveType,
int paramIndex,
code example,,
getProcedureColumns() method, 22.2.3
getProcedures() method, 22.2.3
getREF() method, 15.3.1
getResultSet() method,,
getRow() method (result set),
getRowPrefetch() method,,
getSQLState() method (SQLException), 4.6.1
getSQLTypeName() method,,,
getStatementCacheSize() method
code example,
getStatementWithKey(), 6.1.3
getStatementWithKey() method,,
getString() method,
to get ROWIDs, 10.5.1
getStringFunctions() method, 24.3.3
getStringWithReplacement() method,
getSTRUCT() method,
getSubString() method,
for reading CLOB data, 14.2.2
getSystemFunctions() method, 24.3.3
getTimeDateFunctions() method, 24.3.3
getTransactionIsolation() method,, 26.5
getType() method (result set),
getTypeMap() method,,
getUpdateCounts() method (BatchUpdateException),
getValue() method, 15.2.2
for object references, 15.3.1
getXXX() methods
casting return values, 11.3.5
for specific datatypes, 11.3.4
Oracle extended properties,
global transaction identifier (distributed transactions), 9.2.5
global transactions, 9.1
globalization, 12
Java methods that employ, 12.3
using, 12


HEIGHT, parameter for APPLET tag,
HTML tags, to deploy applets, 23.2.5
HTTP protocol, 1.2.2


IEEE 754 floating-point compliance, 24.4.4
implicit statement caching
definition of, 6.1.2
Least Recently Used (LRU) scheme, 6.1.2
IN OUT parameter mode, 19.4.3
IN parameter mode, 19.4.2
includeSynonyms connection property,
INSERT in a result set, 17.4.3
INSERT INTO statement
for creating BFILE columns,
insertRow() method (result set), 17.4.3
insertsAreDetected() method (database meta data), 17.7.3
directories and files, 2.2.1
verifying on the client, 2.2
Instant Client feature, 20.1
code example,
overview, 23.1.3
setting parameters in Java,
support by OCI drivers,
support by Thin driver,
internal changes (result set)
defined, 17.7
seeing, 17.7.1
internal_logon connection property,
isAfterLast() method (result set),
isBeforeFirst() method (result set),
isFileOpen() method, 14.6.5
isFirst() method (result set),
isLast() method (result set),
isSameRM() (distributed transactions),
isTemporary() method, 14.4, 14.4


compiling and running, 2.2.3
datatypes, 4.3
native datatypes, 4.3
stored procedures, 4.5.2
stream data, 4.4
Java Naming and Directory Interface (JNDI), 3.1.1
Java Sockets, 1.2.2
Java virtual machine (JVM), 1.2.5, 23.3
JavaBeans, 18.1
java.math, Java math packages, 4.1.1
JavaSoft, 18.1
java.sql, JDBC packages, 4.1.1
java.sql.SQLException() method, 4.6
java.sql.Struct class
getSQLTypeName() method,
java.sql.Types class, 22.2.2
java.util.Map class,
and IDEs, 1.5.3
basic program, 4.1
datatypes, 4.3
defined, 1.1
importing packages, 4.1.1
limitations of Oracle extensions, 24.4
sample files, 2.2.3
testing, 2.2.5
version compatibility,
version support, 5
JDBC 2.0 support
datatype support, 5.2.1
extended feature support, 5.2.3
introduction, 5.1
JDK 1.2.x vs. JDK 1.1.x, 5.2, 5.3
overview of features, 5.4
standard feature support, 5.2.2
JDBC drivers
choosing a driver for your needs, 1.2.6
common features, 1.2.1
common problems, 26.3
determining driver version, 2.2.4
introduction, 1.2
restrictions, 26.3.3
SQL92 syntax, 24.3
JDBC mapping (for attributes),
JdbcCheckup program, 2.2.5
JDBCSpy, 26.4.2
JDBCTest, 26.4.2
JDeveloper, 1.5.3
Jdeveloper, 18.2
migration from 1.1.x to 1.2.x, 5.2.5
versions supported, 1.5.1
and datasources, 3.1.4
looking up data source,
overview of Oracle support, 3.1.1
registering data source,
JPublisher,, 13.5.1
JPublisher utility, 13.3
creating custom collection classes, 16.6
creating custom Java classes, 13.5
creating custom reference classes, 15.5
SQL type categories and mapping options,
type mapping modes and settings,
type mappings, 13.5.2
JVM, 1.2.5, 23.3


KPRB driver
described, 1.2.5
relation to the SQL engine, 23.3
session context, 23.3.3
testing, 23.3.4
transaction context, 23.3.3
URL for,


last() method (result set),
LD_LIBRARY_PATH variable, specifying,
and SSL, 3.2.1
Least Recently Used (LRU) scheme, 6.1.2,
length() method,,, 14.6.5, Solaris shared library, 19.3.1 Solaris shared library, 19.3.1 Solaris shared library, 19.3.1
LIKE escape characters, SQL92 syntax, 24.3.4
limitations on setBytes() and setString(), use of streams to avoid,
defined, 4.4.4
introduction, 14.1
locators, 14.1
reading data, 14.2.2
LOB locators
getting from callable statements,
new interface methods, 5.6
getting for BFILEs,
getting for BLOBs,
getting for CLOBs,
LOB, 14.1
passing to callable statements,
passing to prepared statement,
logging with a data source, 3.1.5
data conversions,
data conversions,
LRU scheme, 6.1.2,


make() method,
memory leaks, 26.3.2
end-to-end, 21
migration from JDK 1.1.x to 1.2.x, 5.2.5
moveToCurrentRow() method (result set), 17.4.3
moveToInsertRow() method (result set), 17.4.3
mutable arrays, 16.6


named arrays, 16.1
nativeXA,, 19.3
NC, 18.6
Network Computer (NC), 18.6
network events, trapping, 26.4.1
next() method, 18.6
next() method (result set), 17.3.2
NLS. See globalization
NLS_LANG variable
desupported, 12
testing for, 11.1.3
NULL data
converting, 11.1.2
null data
explicit statement caching,
thrown when converting Double.NaN and Float.NaN,
NUMBER class,


object references
accessing object values, 15.3.1, 15.4, 15.4
described, 15.1
passing to prepared statements, 15.3.3
retrieving, 15.3.1
retrieving from callable statement, 15.3.2
updating object values, 15.3.1, 15.4, 15.4
object-JDBC mapping (for attributes),
OCI driver
described, 1.2.3
ODBCSpy, 26.4.2
ODBCTest, 26.4.2
configuring, 8.2.2
ons.config file,,,
openFile() method, 14.6.5
optimization, performance, 26.2
Oracle Advanced Security
support by JDBC, 23.1.1
support by OCI drivers,
support by Thin driver,
Oracle Connection Manager,, 23.2.1
Oracle datatypes
using, 11
Oracle extensions
datatype support, 10.2.1
limitations, 24.4
catalog arguments to DatabaseMetaData calls, 24.4.5
CursorName, 24.4.1
IEEE 754 floating-point compliance, 24.4.4
read-only connection, 26.5
SQL92 outer join escapes, 24.4.2
SQLWarning class, 24.4.6
object support, 10.2.2
packages, 10.1
result sets, 11.2
schema naming support, 10.2.3
statements, 11.2
to JDBC, 10, 11, 13, 15, 16, 22
Oracle JPublisher, 10.2.2
generated classes,
Oracle mapping (for attributes),
Oracle Net
protocol, 1.2.2
Oracle Notification Service. See ONS
Oracle objects
and JDBC, 13.1
converting with ORAData interface, 13.3.6
converting with SQLData interface, 13.3.4
getting with getObject() method,
Java classes which support, 13.2
mapping to custom object classes, 13.3
reading data by using SQLData interface,
working with, 13.1
writing data by using SQLData interface,
Oracle SQL datatypes, 4.3
OracleCallableStatement interface,
getOraclePlsqlIndexTable() method, 19.4.1
getPlsqlIndexTable() method, 19.4.1
getXXX() methods, 11.3.4
registerIndexTableOutParameter() method, 19.4.1,
registerOutParameter() method, 11.3.7
setPlsqlIndexTable() method, 19.4.1, 19.4.2
OracleCallableStatement object, 6.1.2, 6.1.2
OracleConnection class,
OracleConnection interface, 19.1.3
OracleConnection object, 6.1.1
OracleDatabaseMetaData class, 24.3.3
and applets, 23.2.4
OracleDataSource class,, 19.1.3, 19.1.3
oracle.jdbc. package, 10.3.2
oracle.jdbc., Oracle JDBC extensions, 4.1.1
oracle.jdbc.J2EE13Compliant connection property,
oracle.jdbc.ocinativelibrary connection property,
oracle.jdbc.OracleCallableStatement interface,
close() method,
getOracleObject() method,
getXXX() methods,,
registerOutParameter() method,
setNull() method,
setOracleObject() methods,
setXXX() methods,
oracle.jdbc.OracleConnection interface,
clearClientIdentifier() method,
createStatement() method,
getDefaultExecuteBatch() method,
getDefaultRowPrefetch() method,
getTransactionIsolation() method,, 26.5
getTypeMap() method,
prepareCall() method,
prepareStatement() method,
setClientIdentifier() method,
setDefaultExecuteBatch() method,
setDefaultRowPrefetch() method,
setTransactionIsolation() method,, 26.5
setTypeMap() method,
oracle.jdbc.OraclePreparedStatement interface,
close() method,
getExecuteBatch() method,
setExecuteBatch() method,
setNull() method,
setOracleObject() method,
setORAData() method,
setXXX() methods,
oracle.jdbc.OracleResultSet, 11.2
oracle.jdbc.OracleResultSet interface,
getOracleObject() method,
oracle.jdbc.OracleResultSetMetaData interface,, 11.4
getColumnCount() method, 11.4
getColumnName() method, 11.4
getColumnType() method, 11.4
getColumnTypeName() method, 11.4
using, 11.4
oracle.jdbc.OracleSql class, 24.3.7
oracle.jdbc.OracleStatement interface,
close() method,
executeQuery() method,
getResultSet() method,
getRowPrefetch() method,
setRowPrefetch() method,
oracle.jdbc.OracleTypes class,, 22.2.2
oracle.jdbc.pool package,
oracle.jdbc.TcpNoDelay connection property,
oracle.jdbc.xa package and subpackages, 9.1.4
OracleOCIConnection class, 19.1.3
OracleOCIConnectionPool class, 19.1, 19.1.3
OraclePooledConnection object, 6.1.1
OraclePreparedStatement interface,
getOraclePlsqlIndexTable() method, 19.4.1
getPlsqlIndexTable() method, 19.4.1
registerIndexTableOutParameter() method, 19.4.1
setPlsqlIndexTable() method, 19.4.1, 19.4.2
OraclePreparedStatement object, 6.1.2, 6.1.2
OracleResultSet interface,
getXXX() methods, 11.3.4
OracleResultSetCache interface,
OracleResultSetMetaData interface,
OracleServerDriver class
defaultConnection() method,
oracle.sql datatype classes,
oracle.sql package
data conversions, 11.1
described, 10.3.1
oracle.sql.ARRAY class, 16.1.1
and nested tables,
and VARRAYs,
createDescriptor() method,
getArray() method,
getArrayType() method,
getAutoBuffering() method, 16.3.2
getBaseType() method,
getBaseTypeName() method,
getDescriptor() method,
getJavaSQLConnection() method,,
getMaxLength() method,
getOracleArray() method,
getResultSet() method,
getSQLTypeName() method,
length() method,
methods for Java primitive types, 16.3.1
setAutoBuffering() method, 16.3.2
setAutoIndexing() method, 16.3.3, 16.3.3
oracle.sql.ArrayDescriptor class
getBaseName() method,
getBaseType() method,
oracle.sql.BFILE class,
closeFile() method, 14.6.5
getBinaryStream() method, 14.6.5
getBytes() method, 14.6.5
getDirAlias() method, 14.6.5
getName() method, 14.6.5
isFileOpen() method, 14.6.5
length() method, 14.6.5
openFile() method, 14.6.5
position() method, 14.6.5
oracle.sql.BLOB class,
getBufferSize() method,
getBytes() method,
getChunkSize() method,
length() method,
position() method,
putBytes() method,
setBinaryStream() method,
oracle.sql.CHAR class, 23.3.6
getString() method,
getStringWithReplacement() method,
toString() method,
oracle.sql.CharacterSet class,
oracle.sql.CLOB class,
getAsciiStream() method,
getBufferSize() method,
getCharacterStream() method,
getChars() method,
getChunkSize() method,
getSubString() method,
length() method,
position() method,
putChars() method,
setAsciiStream() method,
setCharacterStream() method,
setString() method,
supported character sets, 14.2.5
oracle.sql.DATE class,
oracle.sql.Datum array,
oracle.sql.Datum class, described, 10.3.1
oracle.sql.NUMBER class,
oracle.sql.ORAData interface, 13.3.6
oracle.sql.ORADataFactory interface, 13.3.6
OracleSql.parse() method, 24.3.7
oracle.sql.RAW class,
oracle.sql.REF class,, 15.1
getBaseTypeName() method, 15.2.2
getValue() method, 15.2.2
setValue() method, 15.2.2
oracle.sql.ROWID class,,, 10.5.1
oracle.sql.STRUCT class,,
getAutoBuffering() method, 13.2.5
getDescriptor() method,
getJavaSQLConnection() method,
getOracleAttributes() method,
setAutoBuffering() method, 13.2.5
toJDBC() method,,
oracle.sql.StructDescriptor class
createDescriptor() method,
OracleStatement interface,
OracleTypes class,
OracleTypes class for typecodes,
OracleTypes.CURSOR variable,
OracleXAConnection class, 9.2.2
OracleXADataSource class, 9.2.1
OracleXAResource class, 9.2.3, 9.2.4
OracleXid class, 9.2.5
ORAData interface, 10.2.2
additional uses, 13.3.8
advantages, 13.3.1
Oracle object types, 13
reading data,
writing data,
orai18n.jar file, 12.1
othersDeletesAreVisible() method (database meta data), 17.7.2
othersInsertsAreVisible() method (database meta data), 17.7.2
othersUpdatesAreVisible() method (database meta data), 17.7.2
OUT parameter mode, 19.4.3,,
outer joins, SQL92 syntax, 24.3.5
ownDeletesAreVisible() method (database meta deta), 17.7.1
ownInsertsAreVisible() method (database meta data), 17.7.1
ownUpdatesAreVisible() method (database meta data), 17.7.1


parameter modes
IN, 19.4.2
IN OUT, 19.4.3
OUT, 19.4.3,,
password connection property,
password, specifying,
PATH variable, specifying,
PDA, 18.6
performance enhancements, standard vs. Oracle, 5.2.4
performance extensions
defining column types, 22.2.2
prefetching rows, 22.2.1
TABLE_REMARKS reporting, 22.2.3
performance optimization, 26.2
Personal Digital Assistant (PDA), 18.6
limit on BLOB size,
restrictions, 26.3.3
space padding, 26.3.1
stored procedures, 4.5.1
PL/SQL index-by tables
scalar datatypes, 19.4.1
PL/SQL types
corresponding JDBC types, 19.4.1
limitations, 24.4.3
PoolConfig() method,
populate() method, 18.6
position() method,,, 14.6.5
positioning in result sets,
prefetching rows, 22.2, 22.2.1
suggested default,
prepare a distributed transaction branch,
prepareCall(), 6.1.3
prepareCall() method,,,,,
prepared statement
passing BFILE locator,
passing LOB locators,
using setObject() method,
using setOracleObject() method,
PreparedStatement object
creating, 4.1.7
prepareStatement(), 6.1.3
prepareStatement() method,,,,,
code example,
previous() method (result set), 17.3.2
printStackTrace() method (SQLException), 4.6.2
PrintWriter for a data source, 3.1.5
connection property,
put() method
for Properties object,
for type maps, 13.3.3,
putBytes() method,
putChars() method,


query, executing, 4.1.4


RAW class,
RDBMS, 1.2.2
read-only result set concurrency type,
readSQL() method, 13.3.4,
REF class,
REF CURSORs, 10.5.2
materialized as result set objects, 10.5.2
refetching rows into a result set, 17.6, 17.7.3
refreshRow() method (result set), 17.6
registerIndexTableOutParameter() method, 19.4.1,
int elemMaxLen,
int elemSqlType,
int maxLen,
int paramIndex,
code example,
registerOutParameter() method,, 11.3.7
Relational Database Management System (RDBMS), 1.2.2
relative positioning in result sets,
relative() method (result set),
remarksReporting connection property,,
remarksReporting flag, 22.2
Remote Method Invocation (RMI), 18.6
resource managers, 9.1.1
restrictGetTables connection property,
result set
auto-commit mode, 26.2.1
getting BFILE locators,
getting LOB locators,
Oracle extensions, 11.2
using getOracleObject() method,
result set enhancemennts
positioning result sets, 17.3.1
result set enhancements
concurrency types,
downgrade rules,
fetch size, 17.5
Oracle scrollability requirements,
Oracle updatability requirements,
processing result sets,
refetching rows, 17.6, 17.7.3
result set types,
seeing external changes, 17.7.2
seeing internal changes, 17.7.1
sensitivity to database changes,
specifying scrollability, updatability, 17.2.1
summary of methods, 17.8
summary of visibility of changes, 17.7.4
updating result sets, 17.4
visibility vs. detection of external changes, 17.7.3
result set fetch size, 17.5
result set methods, JDBC 2.0, 17.8.2
result set object
closing, 4.1.6
result set types for scrollability and sensitivity,
result set, processing, 4.1.5
ResultSet class, 4.1.4
ResultSet() method, 16.3.3
return types
for getXXX() methods,
getObject() method, 11.3.3
getOracleObject() method, 11.3.3
return values
casting, 11.3.5
RMI, 18.6
roll back a distributed transaction branch,
roll back changes to database, 4.1.8
row prefetching, 22.2.1
and data streams,
ROWID class,
CursorName methods, 24.4.1
defined, 10.5.1
ROWID, use for result set updates,


transaction, 5.5
scalar functions, SQL92 syntax, 24.3.3
schema naming conventions, 10.2.3
scrollability in result sets,
scrollable result sets
creating, 17.2.1
fetch direction,
implementation of scroll-sensitivity, 17.7.5
positioning, 17.3.1
processing backward/forward,
refetching rows, 17.6, 17.7.3
scroll-insensitive result sets,
scroll-sensitive result sets,
seeing external changes, 17.7.2
visibility vs. detection of external changes, 17.7.3
scroll-sensitive result sets
authentication, 23.1.2
encryption, 23.1.3
integrity, 23.1.3
Oracle Advanced Security support, 23.1.1
overview, 23.1
SELECT statement
to retrieve object references, 15.3.1
to select LOB locator, 14.2.4
sendBatch() method,,
sensitivity in result sets to database changes,
ArrayDescriptor object,
definition of,,
StructDescriptor object,
server connection property,
server-side internal driver
connection to database, 23.3.1
server-side Thin driver, described, 1.2.4
session context, 1.4.1
for KPRB driver, 23.3.3
setAsciiStream() method,
for writing CLOB data, 14.2.2
setAutoBuffering() method
of the oracle.sql.ARRAY class, 16.3.2
of the oracle.sql.STRUCT class, 13.2.5
setAutoCommit() method, 26.2.1
setAutoIndexing() method, 16.3.3, 16.3.3, 16.3.3, 16.3.3
direction parameter values
setBFILE() method,
setBinaryStream() method,,
for writing BLOB data, 14.2.2
setBLOB() method,
setBlob() method, JDK 1.2.x,
setBytes() limitations, using streams to avoid,
setCharacterStream() method,
for writing CLOB data, 14.2.2
setClientIdentifier() method,
setCLOB() method,
setClob() method, JDK 1.2.x,
setConnection() method
ArrayDescriptor object,
StructDescriptor object,
setCursorName() method, 24.4.1
setDate() method,
setDefaultExecuteBatch() method,,
setDefaultRowPrefetch() method,,
setDisableStatementCaching() method,
setEscapeProcessing() method, 24.3.1
setExecuteBatch() method,,
setFetchSize() method, 17.5.1
setFixedCHAR() method,
setFormOfUse() method, 10.4.2
setMaxFieldSize() method, 22.2.2
setNull(), 11.1.3
setNull() method,,, 11.3.7
setObejct() method, 11.3.6
setObject() method
for CustomDatum objects,
for object references, 15.3.3
for STRUCT objects, 13.2.4
to write object data,
using in prepared statements,
setOracleObject() method,,, 11.3.6
for BLOBs and CLOBs,
using in prepared statements,
setORAData() method,,,
setPlsqlIndexTable() method, 19.4.1, 19.4.2
int curLen, 19.4.2
int elemMaxLen, 19.4.2
int elemSqlType, 19.4.2
int maxLen, 19.4.2
int paramIndex, 19.4.2,
Object arrayData, 19.4.2
code example, 19.4.2
setPoolConfig() method,
setREF() method, 15.3.3
setRemarksReporting() method, 22.2.3
setResultSetCache() method,
setRowPrefetch() method,,
setString() limitations, using streams to avoid,
setString() method,
to bind ROWIDs, 10.5.1
setTime() method,
setTimestamp() method,
setTransactionIsolation() method,, 26.5
setTypeMap() method,
setUnicodeStream() method,
setValue() method, 15.2.2
setXXX() methods
Oracle extended properties,
setXXX() methods, for empty LOBs,
setXXX() methods, for specific datatypes, 11.3.7
signed applets,
shared libraries, 19.3.1, 19.3.1
database, 3.2
data converting to Java datatypes, 11.1
types, constants for,
SQL engine
relation to the KPRB driver, 23.3
SQL syntax (Oracle), 24.3.1
SQL92 syntax, 24.3
function call syntax, 24.3.6
LIKE escape characters, 24.3.4
outer joins, 24.3.5
scalar functions, 24.3.3
time and date literals, 24.3.2
translating to SQL example, 24.3.7
SQLData interface, 10.2.2
advantages, 13.3.1
described, 13.3.4
Oracle object types, 13
reading data from Oracle objects,
using with type map, 13.3.4
writing data from Oracle objects,
SQLInput interface, 13.3.4
SQLInput streams,
parameters for tracing, 26.4.1
SQLOutput interface, 13.3.4
SQLOutput streams,
SQLWarning class, limitations, 24.4.6
and LDAP, 3.2.1
start a distributed transaction branch,
statement caching
definition of, 6.1.3
null data,
definition of, 6.1.2
Least Recently Used (LRU) scheme, 6.1.2
statement methods, JDBC 2.0 result sets, 17.8.3
Statement object
closing, 4.1.6
creating, 4.1.3
Oracle extensions, 11.2
stored procedures
Java, 4.5.2
PL/SQL, 4.5.1
stream data, 4.4, 14.2.2
CHAR columns, 4.4.2
closing, 4.4.5
external files, 4.4.4
LOBs, 4.4.4
LONG columns, 4.4.1
LONG RAW columns, 4.4.1
multiple columns, 4.4.3
RAW columns, 4.4.2
row prefetching,
UPDATE/COMMIT statements, 14.2.2
use to avoid setBytes() and setString() limitations,
VARCHAR columns, 4.4.2
stream data column
STRUCT class,
STRUCT descriptor,,,,
STRUCT object,
embedded object, 13.2.3
nested objects,
retrieving, 13.2.3
retrieving attributes as oracle.sql types,
StructDescriptor object
get methods,
setConnection() method,


TABLE_REMARKS columns, 22.2
restrictions on, 22.2.3
TAF, definition of, 19.2
TCP/IP protocol, 1.2.2,
for NULL values, 11.1.3
Thin driver
applets, 23.2
applications, 1.3.1
described, 1.2.2
LDAP over SSL, 3.2.1
server-side, described, 1.2.4
time and date literals, SQL92 syntax, 24.3.2
tnsEntry,, 19.3
toDatum() method
applied to CustomDatum objects, 13.3.1,
called by setORAData() method,
toJDBC() method,,
toJdbc() method,
toString() method,
trace facility, 26.4.1
trace parameters
tracing with a data source, 3.1.5
transaction branch, 9.1
transaction branch ID component, 9.2.5
transaction context, 1.4.1
for KPRB driver, 23.3.3
transaction IDs (distributed transactions), 9.1.2
transaction managers, 9.1.1
transaction savepoints, 5.5
switching between local and global, 9.1.3
Transparent Application Failover (TAF), definition of, 19.2
TTC error messages, listed, A.4
TTC protocol, 1.2.2, 1.2.3
type map, 10.2.2, 11.3.1
adding entries,
and STRUCTs,
creating a new map,
used with arrays,
used with SQLData interface, 13.3.4
using with arrays, 16.5
type map (SQL to Java), 13.3
type mapping
BigDecimal mapping,
JDBC mapping,
object JDBC mapping,
Oracle mapping,
type mappings
JPublisher options, 13.5.2
type maps
relationship to database connection,
TYPE_FORWARD_ONLY result sets, 17.2.1
TYPE_SCROLL_INSENSITIVE result sets, 17.2.1
TYPE_SCROLL_SENSITIVE result sets, 17.2.1
typecodes, Oracle extensions,


unicode data, 10.4.2
updatability in result sets,
updatable result set concurrency type,
updatable result sets
creating, 17.2.1
DELETE operations, 17.4.1
INSERT operations, 17.4.3
refetching rows, 17.6, 17.7.3
seeing internal changes, 17.7.1
update conflicts, 17.4.4
UPDATE operations, 17.4.2
update batching
overview, Oracle vs. standard model,
overview, statements supported,
update batching (Oracle model)
batch value, checking,
batch value, overriding,
committing changes,
connection batch value, setting,
connection vs. statement batch value, 22.1.2
default batch value,
disable auto-commit, 22.1.2
limitations and characteristics,
overview, 22.1.2
statement batch value, setting,
stream types not allowed,
update counts,
update batching (standard model)
adding to batch,
clearing the batch,
committing changes,
error handling,
executing the batch,
intermixing batched and non-batched,
overview, 22.1.3
stream types not allowed,
update counts,
update counts upon error,
update conflicts in result sets, 17.4.4
update counts
Oracle update batching,
standard update batching,
upon error (standard batching),
UPDATE in a result set, 17.4.2
updateRow() method (result set), 17.4.2
updatesAreDetected() method (database meta data), 17.7.3
updateXXX() methods (result set), 17.4.2, 17.4.3
updateXXX() methods for empty LOBs,
updating result sets, 17.4
for KPRB driver,
useFetchSizeWithLongColumn connection property,
user connection property,
userid, specifying,


VARCHAR2 columns, 26.3.1


WIDTH, parameter for APPLET tag,
window, scroll-sensitive result sets, 17.7.5
writeSQL() method, 13.3.4,


connection implementation, 9.2.2
connections (definition), 9.1.2
data source implementation, 9.2.1
data sources (definition), 9.1.2
definition, 9.1
error handling, 9.3.3
example of implementation, 9.4
exception classes, 9.3.1
Oracle optimizations, 9.3.4
Oracle transaction ID implementation, 9.2.5
resource implementation, 9.2.3
resources (definition), 9.1.2
transaction ID interface, 9.2.5