Skip Headers
Oracle® Database JDBC Developer's Guide and Reference,
11g Release 1 (11.1)

B31224-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
PDF · Mobi · ePub

Index

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

A

absolute positioning in result sets, 17.1.1
acceptChanges() method, 18.2
Accessing PL/SQL Index-by Tables, 4.2.6
addBatch() method, 23.1.3.2
APPLET HTML tag, 5.3.5.1
applets
connecting to a database, 5.3.1
deploying in an HTML page, 5.3.5
packaging, 5.3.4, 5.3.4
signed applets
browser security, 5.3.2.2
object-signing certificate, 5.3.2.2
using signed applets, 5.3.2.2
using with firewalls, 5.3.3
ARCHIVE, parameter for APPLET tag, 5.3.5.3
ARRAY
class, 4.3.1
descriptors, 4.3.1
objects, creating, 4.3.1, 16.4.1
arrays
defined, 16.1
getting, 16.4.2.6
named, 16.1
passing to callable statement, 16.4.3
retrieving from a result set, 16.4.2.1
retrieving partial arrays, 16.4.2.5
using type maps, 16.5
working with, 16.1
authentication (security), 9.2
auto-commit, 2.3.8
auto-commit mode
disabling, B.2.1
result set behavior, B.2.1

B

batch jobs, authenticating users in, 9.9
batch updates--see update batching
batch value
checking value, 23.1.2.4
connection batch value, setting, 23.1.2.2
connection vs. statement value, 23.1.2
default value, 23.1.2.1
overriding value, 23.1.2.5
statement batch value, setting, 23.1.2.3
BatchUpdateException, 23.1.3.7
beforeFirst() method, 18.1.4
BFILE
accessing data, 14.6.4
class, 4.3.1
creating and populating columns, 14.6.3
defined, 12.4
introduction, 14.1
locators, 14.6.1
getting from a result set, 14.6.1
getting from callable statement, 14.6.1
passing to callable statements, 14.6.1
passing to prepared statements, 14.6.1
manipulating data, 14.6.4
reading data, 14.6.2
BFILE locator, selecting, 4.3.1
BigDecimal mapping (for attributes), 13.5.2
BLOB, 14.2.1.2, 14.2.1.2, 14.2.1.2
class, 4.3.1
creating and populating, 14.2.3
getting locators, 14.2.1.1
introduction, 14.1
locators
getting from result set, 14.2.1.1
selecting, 4.3.1
manipulating data, 14.2.4
reading data, 14.2.2, 14.2.2
writing data, 14.2.2
BLOBs
size limit with PL/SQL prodcedures, 14.2.1.2
Boolean parameters, restrictions, D.1.3
branch qualifier (distributed transactions), 28.2.5

C

CachedRowSet, 18.2
caching, client-side
custom use for scrollable result sets, 17.1.2
Oracle use for scrollable result sets, 17.1.2
callable statement
getting a BFILE locator, 14.6.1
getting LOB locators, 14.2.1.1
passing BFILE locator, 14.6.1
passing LOB locators, 14.2.1.2, 14.2.1.2
using getOracleObject() method, 11.4.2
cancel() method, 4.5.5.1
cancelling
SQL statements, D.1.5
cancelRowUpdates() method (result set), 17.4.2
casting return values, 11.4.5
catalog arguments (DatabaseMetaData), A.4.5
CHAR columns
using setFixedCHAR() to match in WHERE, 11.4.7.2
character sets, 4.4.3
checksums
code example, 9.5.3
setting parameters in Java, 9.5.3
support by OCI drivers, 9.5.1
support by Thin driver, 9.5.2
CLASSPATH environment variable, specifying, 2.2.2
clearBatch() method, 23.1.3.5
clearDefines() method, 23.2.2
CLOB
class, 4.3.1
creating and populating, 14.2.3
introduction, 14.1
locators, 14.2.1.1
getting from result set, 14.2.1.1
passing to callable statements, 14.2.1.2, 14.2.1.2
passing to prepared statement, 14.2.1.2
locators, selecting, 4.3.1
manipulating data, 14.2.4
reading data, 14.2.2, 14.2.2
writing data, 14.2.2, 14.2.2
close method, 20.3.2, 20.3.2
close(), 20.1.3
close() method, D.1.2
for caching statements, 20.2.2, 20.2.3
closeWithKey(), 20.1.3
closeWithKey() method, 20.2.4, 20.2.4
CMAN.ORA file, creating, 5.3.2.1
CODE, parameter for APPLET tag, 5.3.5.1
CODEBASE, parameter for APPLET tag, 5.3.5.2
collections
defined, 16.1
collections (nested tables and arrays), 16.4.1
column types
defining, 23.2.2
redefining, 23.2
commit a distributed transaction branch, 28.2.4
commit changes to database, 2.3.8
commit() method, 4.5.5.1
CONCUR_READ_ONLY result sets, 17.2.1
CONCUR_UPDATABLE result sets, 17.2.1
concurrency types in result sets, 17.1.1
CONNECT /feature, 9.9
connection
closing, 2.3.9
opening, 2.3.2
connection attributes, 21.3
connection cache properties, 21.4
Connection Manager
installing, 5.3.2.1
starting, 5.3.2.1
using, 5.3.2.1
using multiple managers, 5.3.2.1
writing the connection string, 5.3.2.1
connection properties, 8.1.5
put() method, 8.1.9
connection string
Connection Manager, 5.3.2.1
connections
read-only, B.3
constants for SQL types, 4.5.5.7
CREATE DIRECTORY statement
for BFILEs, 14.6.3
CREATE TABLE statement
to create BFILE columns, 14.6.3
to create BLOB, CLOB columns, 14.2.3
CREATE TYPE statement, 13.4.1
create() method
for ORADataFactory interface, 13.3.6
createDescriptor() method, 13.2.3
createStatement(), 20.1.3
createStatement() method, 20.2.4
createTemporary() method, 14.4
CursorName
limitations, A.4.1
cursors, D.1.2
custom collection classes
and JPublisher, 16.6
defined, 16.1.1, 16.6
custom Java classes, 4.2.3
defined, 13.1
custom object classes
creating, 13.3
defined, 13.1
custom reference classes
and JPublisher, 15.5
defined, 15.1, 15.5

D

data conversions, 11.2
LONG, 12.2.2
LONG RAW, 12.2.1
data sources
creating and connecting (with JNDI), 8.1.4
creating and connecting (without JNDI), 8.1.3
Oracle implementation, 8.1.2
properties, 8.1.2
standard interface, 8.1.2
data streaming
avoiding, 12.2.4
data type classes, 4.3.1
data type mappings, 11.1
data types
Java, 11.1
Java native, 11.1
JDBC, 11.1
Oracle SQL, 11.1
database
connecting
from an applet, 5.3.1
via multiple Connection Managers, 5.3.2.1
with server-side internal driver, 7.2
connection testing, 2.2.5
database specifiers, 8.2
database URL
including userid and password, 2.3.2
database URL, specifying, 2.3.2
database URLs
and database specifiers, 8.2
DatabaseMetaData calls, A.4.5
DatabaseMetaData class, A.3.2
datasources, 8.1
and JNDI, 8.1.4
DATE class, 4.3.1
DBMS_SERVICE.SERVICE_TIME, 22.2
DBMS_SERVICE.THROUGHPUT, 22.2
debugging JDBC programs, D.2
DEFAULT_CHARSET character set value, 4.4.3
defaultConnection() method, 7.2
defineColumnType() method, 4.5.5.2, 12.2.4, 23.2.2
DELETE in a result set, 17.4.1
deleteRow() method (result set), 17.4.1
deletesAreDetected() method (database metadata), 17.7.3
distributed transaction ID component, 28.2.5
distributed transactions
branch qualifier, 28.2.5
check for same resource manager, 28.2.4
commit a transaction branch, 28.2.4
components and scenarios, 28.1.1
concepts, 28.1.2
distributed transaction ID component, 28.2.5
end a transaction branch, 28.2.4
example of implementation, 28.4
forget, 28.2.4
global transaction identifier, 28.2.5
ID format identifier, 28.2.5
obtain the list of transaction brances during recovery, 28.2.4
Oracle XA connection implementation, 28.2.2
Oracle XA data source implementation, 28.2.1
Oracle XA ID implementation, 28.2.5
Oracle XA optimizations, 28.3.4
Oracle XA resource implementation, 28.2.3
overview, 28.1
prepare a transaction branch, 28.2.4
roll back a transaction branch, 28.2.4
start a transaction branch, 28.2.4
transaction branch ID component, 28.2.5
XA connection interface, 28.2.2
XA data source interface, 28.2.1
XA error handling, 28.3.3
XA exception classes, 28.3.1
XA ID interface, 28.2.5
XA resource functionality, 28.2.4
XA resource interface, 28.2.3
DML Returning, 4.2.5, 4.6
example, 4.6.3
limitations, 4.6.4
Oracle-specific APIs, 4.6.1
running statements, 4.6.2
Double.NaN
restrictions on use, 4.3.1
driverType, 8.1.2

E

encryption
code example, 9.5.3
overview, 9.5
setting parameters in Java, 9.5.3
support by OCI drivers, 9.5.1
support by Thin driver, 9.5.2
end a distributed transaction branch, 28.2.4
Enterprise Java Beans (EJB), 18.2
environment variables
specifying, 2.2.2
errors
general JDBC message structure, C.1
general JDBC messages, listed, C.2
processing exceptions, 2.6
TTC messages, listed, C.4
exceptions
retrieving error code, 2.6
retrieving message, 2.6
retrieving SQL state, 2.6
execute() method, 18.3
executeBatch() method, 23.1.3.3
executeUpdate() method, 23.1.2.7
explicit Statement caching
definition of, 20.1.3
null data, 20.2.4
extensions to JDBC, Oracle, 4, 11, 13, 15, 16, 23
external changes (result set)
defined, 17.7
seeing, 17.7.2
visibility vs. detection, 17.7.3
external file
defined, 12.4

F

failover
fast connection, 26
Fast Connection Failover, 26
fast connection failover
prerequisites, 26.2.1
fetch direction in result sets, 17.3.2
fetch size, result sets, 17.5
FilteredRowSet, 18.5
finalizer methods, D.1.2
firewalls
configuring for applets, 5.3.3.1
connection string, 5.3.3.2
described, 5.3.3
required rule list items, 5.3.3.1
using with applets, 5.3.3
Firewalls, using with JDBC, D.1.6
floating-point compliance, A.4.4
Float.NaN
restrictions on use, 4.3.1
format identifier, transaction ID, 28.2.5
forward-only result sets, 17.1.1
freeTemporary() method, 14.4, 14.4
function call syntax, SQL92 syntax, A.3.5

G

getARRAY() method, 16.4.2.1
getArray() method, 16.3.3, 16.4.2.2
using type maps, 16.4.2.4
getAsciiStream() method
for reading CLOB data, 14.2.2, 14.2.2
getAttributes() method
used by Structs, 13.3.3.3
getAutoBuffering() method
of the oracle.sql.ARRAY class, 16.3.2
of the oracle.sql.STRUCT class, 13.2.5
getBaseType() method, 16.4.2.6
getBaseTypeName() method, 15.2.2
getBinaryStream() method, 12.2.3
for reading BFILE data, 14.6.2
for reading BLOB data, 14.2.2
getBytes() method, 4.3.1, 12.2.3
getCallWithKey(), 20.1.3
getCallWithKey() method, 20.2.4, 20.2.4
getCharacterStream() method
for reading CLOB data, 14.2.2, 14.2.2
getColumns() method, 23.2.3
getConcurrency() method (result set), 17.2.2
getConnection() method, 7.2, 24.4
getCursor() method, 4.5.2, 4.5.2
getCursorName() method
limitations, A.4.1
getDefaultExecuteBatch() method, 4.5.5.1, 23.1.2.4
getDefaultRowPrefetch() method, 4.5.5.1
getDescriptor() method, 13.2.1
getDirAlias() method, 14.6.4
getErrorCode() method (SQLException), 2.6
getExecuteBatch() method, 23.1.2.3, 23.1.2.4
getFetchSize() method, 17.5.1
getJavaSQLConnection() method, 13.2.1
getJavaSqlConnection() method, 4.5.5.8
getMessage() method (SQLException), 2.6
getName() method, 14.6.4
getNumericFunctions() method, A.3.2
getObject() method
casting return values, 11.4.5
for object references, 15.3.1
for ORAData objects, 13.3.6
for SQLInput streams, 13.3.4
for SQLOutput streams, 13.3.4
for Struct objects, 13.2.2
return types, 11.4.1, 11.4.3
to get BFILE locators, 14.6.1
to get Oracle objects, 13.2.2
used with ORAData interface, 13.3.7
getOracleArray() method, 16.4.2.2, 16.4.2.6
getOracleAttributes() method, 13.2.1, 13.2.2
getOracleObject() method
casting return values, 11.4.5
return types, 11.4.2, 11.4.3
using in callable statement, 11.4.2
using in result set, 11.4.2
getOraclePlsqlIndexTable() method, 4.7.1, 4.7.3, 4.7.4
argument
int paramIndex, 4.7.4
code example, 4.7.4
getORAData() method, 13.3.6, 13.3.7
getPassword() method, 8.1.2
getPlsqlIndexTable() method, 4.7.1, 4.7.3, 4.7.3, 4.7.4, 4.7.4
arguments
Class primitiveType, 4.7.4
int paramIndex, 4.7.4
code example, 4.7.4, 4.7.4
getProcedureColumns() method, 23.2.3
getProcedures() method, 23.2.3
getREF() method, 15.3.1
getRow() method (result set), 17.3.1
getRowPrefetch() method, 4.5.5.2
getSQLState() method (SQLException), 2.6
getSQLTypeName() method, 13.2.1, 16.4.2.6
getStatementCacheSize() method
code example, 20.2.1
getStatementWithKey(), 20.1.3
getStatementWithKey() method, 20.2.4, 20.2.4
getString() method, 4.4.3
to get ROWIDs, 4.5.1
getStringFunctions() method, A.3.2
getStringWithReplacement() method, 4.4.3
getSTRUCT() method, 13.2.2
getSubString() method
for reading CLOB data, 14.2.2, 14.2.2
getSystemFunctions() method, A.3.2
getTimeDateFunctions() method, A.3.2
getTransactionIsolation() method, B.3
getType() method (result set), 17.2.2
getTypeMap() method, 13.3.3.1
getUpdateCounts() method (BatchUpdateException), 23.1.3.7
getValue() method, 15.2.2
for object references, 15.3.1
getXXX() methods
casting return values, 11.4.5
for specific data types, 11.4.4
Oracle extended properties, 8.1.2
global transaction identifier (distributed transactions), 28.2.5
global transactions, 28.1
globalization, 19
using, 19

H

HEIGHT, parameter for APPLET tag, 5.3.5.1
HTML tags, to deploy applets, 5.3.5

I

IEEE 754 floating-point compliance, A.4.4
implicit connection cache, 21
example, 21.2.6
implicit Statement caching
definition of, 20.1.2
Least Recently Used (LRU) algorithm, 20.1.2
IN OUT parameter mode, 4.7.3
IN parameter mode, 4.7.2
INSERT in a result set, 17.4.3
INSERT INTO statement
for creating BFILE columns, 14.6.3
insertRow() method (result set), 17.4.3
insertsAreDetected() method (database metadata), 17.7.3
installation
directories and files, 2.2.1
verifying on the client, 2.2
Instant Client feature, 6.5.1
integrity
code example, 9.5.3
overview, 9.5
setting parameters in Java, 9.5.3
support by OCI drivers, 9.5.1
support by Thin driver, 9.5.2
internal changes (result set)
defined, 17.7
seeing, 17.7.1
isAfterLast() method (result set), 17.3.1
isBeforeFirst() method (result set), 17.3.1
isFirst() method (result set), 17.3.1
isLast() method (result set), 17.3.1
isSameRM() (distributed transactions), 28.2.4
isTemporary() method, 14.4, 14.4

J

Java
compiling and running, 2.2.3
data types, 11.1
native data types, 11.1
stored procedures, 2.5.2
stream data, 12
Java Naming and Directory Interface (JNDI), 8.1.1
Java Sockets, 1.1.1
Java Virtual Machine (JVM), 7.1
java.math, Java math packages, 2.3.1
java.sql, JDBC packages, 2.3.1
java.sql.Connection interface
close method, 20.3.2
java.sql.SQLException() method, 2.6
java.sql.Statement interface
close method, 20.3.2
java.sql.Struct class
getSQLTypeName() method, 13.2.1
java.sql.Types class, 23.2.2
java.util.Map class, 16.4.2.5
java.util.Properties, 24.3
JDBC
and IDEs, 1.2.3
basic program, 2.3
data types, 11.1
defined, 1
importing packages, 2.3.1
limitations of Oracle extensions, A.4
sample files, 2.2.3
testing, 2.2.5
version support, 3
JDBC 2.0 support
data type support, 3.1.1
extended feature support, 3.1.3
introduction, 3.1
JDK 1.2.x vs. JDK 1.1.x, 3.1, 3.2
standard feature support, 3.1.2
JDBC drivers
applets, 5.3
choosing a driver for your needs, 1.1.2
common features, 1.1.1
common problems, D.1
determining driver version, 2.2.4
introduction, 1.1
restrictions, D.1.3
SQL92 syntax, A.3
JDBC mapping (for attributes), 13.5.2
JdbcCheckup program, 2.2.5
JDBCRowSet, 18.3
JDBCSpy, D.2.2
JDBCTest, D.2.2
JDeveloper, 1.2.3
JDK
versions supported, 1.2.1
JNDI
and datasources, 8.1.4
looking up data source, 8.1.4
overview of Oracle support, 8.1.1
registering data source, 8.1.4
JoinRowSet, 18.6
JPublisher, 13.3.7, 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, 13.5.2
type mapping modes and settings, 13.5.2
type mappings, 13.5.2
JVM, 7.1

K

KPRB driver
overview, 1.1.1
relation to the SQL engine, 7.1
session context, 7.4
testing, 7.5
transaction context, 7.4
URL for, 7.2

L

LD_LIBRARY_PATH environment variable, specifying, 2.2.2
LDAP
and SSL, 8.2
Least Recently Used (LRU) algorithm, 20.1.2, 24.3
libheteroxa11_g.so shared library, 28.5.1
libheteroxa11.so shared library, 28.5.1
LIKE escape characters, SQL92 syntax, A.3.3
limitations on setBytes() and setString(), use of streams to avoid, 12.7.2
load balancing advisory, 22.1
LOB
defined, 12.4
introduction, 14.1
locators, 14.1
reading data, 14.2.2
LOB locators
getting from callable statements, 14.2.1.1
passing, 14.2.1.2
locators
getting for BFILEs, 14.6.1
getting for BLOBs, 14.2.1.1
getting for CLOBs, 14.2.1.1
LOB, 14.1
passing to callable statements, 14.2.1.2, 14.2.1.2
passing to prepared statement, 14.2.1.2
LONG
data conversions, 12.2.2
LONG RAW
data conversions, 12.2.1
LRU algorithm, 20.1.2

M

make() method, 4.4.3
memory leaks, D.1.2
moveToCurrentRow() method (result set), 17.4.3
moveToInsertRow() method (result set), 17.4.3
mutable arrays, 16.6

N

named arrays, 16.1
defined, 16.4.1
nativeXA, 8.1.2, 28.5.1
NCLOB
creating and populating, 14.2.3
reading data, 14.2.2
network events, trapping, D.2.1
next() method, 18.1.4
next() method (result set), 17.3.2
NLS. See globalization
NLS_LANG variable
desupported, 19
NULL
testing for, 11.2.3
NULL data
converting, 11.2.2
null data
explicit Statement caching, 20.2.4
NullPointerException
thrown when converting Double.NaN and Float.NaN, 4.3.1
NUMBER class, 4.3.1

O

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), 13.5.2
OCI driver
described, 1.1.1
ODBCSpy, D.2.2
ODBCTest, D.2.2
ONS
configuring, 26.2.2
ons.config file, 26.2.2.1, 26.2.2.1, 26.2.2.3
optimization, performance, B.2
Oracle Advanced Security
support by JDBC, 9.1
support by OCI drivers, 9.1
support by Thin driver, 9.1
Oracle Connection Manager, 5.3.1
Oracle data types
using, 11
Oracle extensions, 4.2
data type support, 4.2.2
limitations, A.4
catalog arguments to DatabaseMetaData calls, A.4.5
CursorName, A.4.1
IEEE 754 floating-point compliance, A.4.4
PL/SQL TABLE, BOOLEAN, RECORD types, A.4.3
read-only connection, B.3
SQL92 outer join escapes, A.4.2
SQLWarning class, A.4.6
object support, 4.2.3
result sets, 11.3
statements, 11.3
to JDBC, 4, 11, 13, 15, 16, 23
Oracle JPublisher, 4.2.3
generated classes, 13.4.2.3
Oracle mapping (for attributes), 13.5.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, 13.2.2
Java classes which support, 13.2
mapping to custom object classes, 13.3
reading data by using SQLData interface, 13.3.5
working with, 13.1
writing data by using SQLData interface, 13.3.5
Oracle SQL data types, 11.1
OracleCallableStatement interface, 4.5.5.4
getOraclePlsqlIndexTable() method, 4.7.1
getPlsqlIndexTable() method, 4.7.1
getXXX() methods, 11.4.4
registerIndexTableOutParameter() method, 4.7.1, 4.7.3
registerOutParameter() method, 11.4.7
setPlsqlIndexTable() method, 4.7.1, 4.7.2
OracleCallableStatement object, 20.1.2, 20.1.2
OracleConnection class, 4.5.5.1
OracleConnection interface, 24.3
OracleConnection object, 20.1.1
OracleDatabaseMetaData class, A.3.2
OracleDataSource class, 8.1.2, 24.3, 24.3
oracle.jdbc. package, 4.5.5
oracle.jdbc., Oracle JDBC extensions, 2.3.1
oracle.jdbc.OracleCallableStatement interface, 4.5.5.4
oracle.jdbc.OracleConnection interface, 4.5.5.1
cancel() method, 4.5.5.1
commit() method, 4.5.5.1
getDefaultExecuteBatch() method, 4.5.5.1
getDefaultRowPrefetch() method, 4.5.5.1
getTransactionIsolation() method, B.3
setDefaultExecuteBatch() method, 4.5.5.1
setDefaultRowPrefetch() method, 4.5.5.1
setTransactionIsolation() method, B.3
oracle.jdbc.OraclePreparedStatement interface, 4.5.5.3
oracle.jdbc.OracleResultSet, 11.3
oracle.jdbc.OracleResultSet interface, 4.5.5.5
oracle.jdbc.OracleResultSetMetaData interface, 4.5.5.6, 11.5
using, 11.5
oracle.jdbc.OracleSql class, A.3.6
oracle.jdbc.OracleStatement, 11.3
oracle.jdbc.OracleStatement interface, 4.5.5.2
defineColumnType(), 4.5.5.2
getRowPrefetch() method, 4.5.5.2
setRowPrefetch() method, 4.5.5.2
oracle.jdbc.OracleTypes class, 4.5.5.7, 23.2.2
oracle.jdbc.pool package, 24.3
oracle.jdbc.xa package and subpackages, 28.1.4
OracleOCIConnection class, 24.3
OracleOCIConnectionPool class, 24, 24.3
OraclePreparedStatement interface, 4.5.5.3
getOraclePlsqlIndexTable() method, 4.7.1
getPlsqlIndexTable() method, 4.7.1
registerIndexTableOutParameter() method, 4.7.1
setPlsqlIndexTable() method, 4.7.1, 4.7.2
OraclePreparedStatement object, 20.1.2, 20.1.2
OracleResultSet interface, 4.5.5.5
getXXX() methods, 11.4.4
OracleResultSetCache interface, 17.1.2
OracleResultSetMetaData interface, 4.5.5.6
OracleServerDriver class
defaultConnection() method, 7.2
oracle.sql data type classes, 4.3.1
oracle.sql package
data conversions, 11.2
described, 4.3.1
oracle.sql.ARRAY class, 16.1.1
and nested tables, 4.3.1
and VARRAYs, 4.3.1
getAutoBuffering() method, 16.3.2
methods for Java primitive types, 16.3.1
setAutoBuffering() method, 16.3.2
setAutoIndexing() method, 16.3.3, 16.3.3
oracle.sql.BFILE class, 4.3.1
oracle.sql.BLOB class, 4.3.1
oracle.sql.CHAR class
getString() method, 4.4.3
getStringWithReplacement() method, 4.4.3
toString() method, 4.4.3
oracle.sql.CharacterSet class, 4.4.3
oracle.sql.CLOB class, 4.3.1
oracle.sql.data types
support, 4.3.1
oracle.sql.DATE class, 4.3.1
oracle.sql.Datum array, 4.7.4
oracle.sql.Datum class, described, 4.3.1
oracle.sql.NUMBER class, 4.3.1
oracle.sql.ORAData interface, 13.3.6
oracle.sql.ORADataFactory interface, 13.3.6
OracleSql.parse() method, A.3.6
oracle.sql.RAW class, 4.3.1
oracle.sql.REF class, 4.3.1, 15.1
getBaseTypeName() method, 15.2.2
getValue() method, 15.2.2
setValue() method, 15.2.2
oracle.sql.ROWID class, 4.5.1
oracle.sql.STRUCT class, 4.3.1, 13.2.1
getAutoBuffering() method, 13.2.5
getDescriptor() method, 13.2.1
getJavaSQLConnection() method, 13.2.1
getOracleAttributes() method, 13.2.1
setAutoBuffering() method, 13.2.5
toJDBC() method, 13.2.1, 13.2.1
oracle.sql.StructDescriptor class
createDescriptor() method, 13.2.3
OracleStatement interface, 4.5.5.2
OracleTypes class, 4.5.5.7
OracleTypes class for typecodes, 4.5.5.7
OracleTypes.CURSOR variable, 4.5.2
OracleXAConnection class, 28.2.2
OracleXADataSource class, 28.2.1
OracleXAResource class, 28.2.3, 28.2.4
OracleXid class, 28.2.5
ORAData interface, 4.2.3
additional uses, 13.3.8
advantages, 13.3.1
Oracle object types, 13
reading data, 13.3.7
writing data, 13.3.7
orai18n.jar file, 19.1
othersDeletesAreVisible() method (database metadata), 17.7.2
othersInsertsAreVisible() method (database metadata), 17.7.2
othersUpdatesAreVisible() method (database metadata), 17.7.2
OUT parameter mode, 4.7.3, 4.7.3, 4.7.3
outer joins, SQL92 syntax, A.3.4
ownDeletesAreVisible() method (database meta deta), 17.7.1
ownInsertsAreVisible() method (database meta data), 17.7.1
ownUpdatesAreVisible() method (database meta data), 17.7.1

P

parameter modes
IN, 4.7.2
IN OUT, 4.7.3
OUT, 4.7.3, 4.7.3, 4.7.3
password, specifying, 2.3.2
PATH environment variable, specifying, 2.2.2
PDA, 18.2
performance enhancements, standard vs. Oracle, 3.1.4
performance extensions
defining column types, 23.2.2
TABLE_REMARKS reporting, 23.2.3
performance optimization, B.2
Personal Digital Assistant (PDA), 18.2
PL/SQL
limit on BLOB size, 14.2.1.2
restrictions, D.1.3
stored procedures, 2.5.1
PL/SQL index-by tables, 4.7
mapping, 4.7.3
scalar data types, 4.7.1
PL/SQL types
corresponding JDBC types, 4.7.1
limitations, A.4.3
PoolConfig() method, 24.3
populate() method, 18.2
positioning in result sets, 17.1.1
prefetching rows, 23.2
suggested default, 23.2.1
prepare a distributed transaction branch, 28.2.4
prepareCall(), 20.1.3
prepareCall() method, 20.2.3, 20.2.3, 20.2.3, 20.2.4
prepared statement
passing BFILE locator, 14.6.1
passing LOB locators, 14.2.1.2
PreparedStatement object
creating, 2.3.7
prepareStatement(), 20.1.3
prepareStatement() method, 20.2.3, 20.2.3, 20.2.3, 20.2.4
code example, 20.2.3
previous() method (result set), 17.3.2
put() method
for Properties object, 8.1.9
for type maps, 13.3.3, 13.3.3.1

Q

query, executing, 2.3.4

R

racgons, 26.2.2.3
RAW class, 4.3.1
read-only result set concurrency type, 17.1.1
readSQL() method, 13.3.4, 13.3.4
implementing, 13.3.4
recover (distributed transactions), 28.2.4
REF class, 4.3.1
REF CURSORs, 4.5.2
materialized as result set objects, 4.5.2
refetching rows into a result set, 17.6, 17.7.3
refreshRow() method (result set), 17.6
registerIndexTableOutParameter() method, 4.7.1, 4.7.3
arguments
int elemMaxLen, 4.7.3
int elemSqlType, 4.7.3
int maxLen, 4.7.3
int paramIndex, 4.7.3
code example, 4.7.3
registerOutParameter() method, 11.4.7
relative positioning in result sets, 17.1.1
remarksReporting flag, 23.2
Remote Method Invocation (RMI), 18.2
resource managers, 28.1.1
result set
auto-commit mode, B.2.1
getting BFILE locators, 14.6.1
getting LOB locators, 14.2.1.1
metadata, 4.5.5.6
Oracle extensions, 11.3
using getOracleObject() method, 11.4.2
result set enhancemennts
positioning result sets, 17.3.1
result set enhancements
concurrency types, 17.1.1
downgrade rules, 17.2.2
fetch size, 17.5
limitations, 17.2.2
Oracle scrollability requirements, 17.1.2
Oracle updatability requirements, 17.1.2
positioning, 17.1.1
processing result sets, 17.3.2
refetching rows, 17.6, 17.7.3
result set types, 17.1.1
scrollability, 17.1.1
seeing external changes, 17.7.2
seeing internal changes, 17.7.1
sensitivity to database changes, 17.1.1
specifying scrollability, updatability, 17.2.1
summary of visibility of changes, 17.7.4
updatability, 17.1.1
updating result sets, 17.4
visibility vs. detection of external changes, 17.7.3
result set fetch size, 17.5
Result Set Holdability, 3.2.4
result set object
closing, 2.3.6
result set types for scrollability and sensitivity, 17.1.1
result set, processing, 2.3.5
ResultSet class, 2.3.4
ResultSet() method, 16.3.3
Retrieval of Auto-Generated Keys, 3.2.2
return types
for getXXX() methods, 11.4.4.1
getObject() method, 11.4.3
getOracleObject() method, 11.4.3
return values
casting, 11.4.5
RMI, 18.2
roll back a distributed transaction branch, 28.2.4
roll back changes to database, 2.3.8
row prefetching
and data streams, 12.7.3
ROWID class
CursorName methods, A.4.1
defined, 4.5.1
ROWID, use for result set updates, 17.1.2
RowSet
events and event listeners, 18.1.2
overview, 18.1
properties, 18.1.1
traversing, 18.1.4
run-time connection load balancing, 22
enabling, 22.2
how it works, 22.1
load balancing advisory, 22.1
overview, 22.1

S

savepoints
transaction, 3.2.1
scalar functions, SQL92 syntax, A.3.2
Schema Naming, 4.2.4
scripts, authenticating users in, 9.9
scrollability in result sets, 17.1.1
scrollable result sets
creating, 17.2.1
fetch direction, 17.3.2
implementation of scroll-sensitivity, 17.7.5
positioning, 17.3.1
processing backward/forward, 17.3.2
refetching rows, 17.6, 17.7.3
scroll-insensitive result sets, 17.1.1
scroll-sensitive result sets, 17.1.1
seeing external changes, 17.7.2
visibility vs. detection of external changes, 17.7.3
scroll-sensitive result sets
limitations, 17.2.2
security
authentication, 9.2
encryption, 9.5
integrity, 9.5
Oracle Advanced Security support, 9.1
SELECT statement
to retrieve object references, 15.3.1
to select LOB locator, 14.2.4
sendBatch() method, 23.1.2.5, 23.1.2.7
sensitivity in result sets to database changes, 17.1.1
server-side internal driver
connection to database, 7.2
server-side Thin driver, overview, 1.1.1
session context
for KPRB driver, 7.4
setAsciiStream() method
for writing CLOB data, 14.2.2, 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, B.2.1
setAutoIndexing() method, 16.3.3, 16.3.3
setBFILE() method, 14.6.1
setBinaryStream() method
for writing BLOB data, 14.2.2
setBLOB() method, 14.2.1.2
setBytes() limitations, using streams to avoid, 12.7.2
setCharacterStream() method
for writing CLOB data, 14.2.2, 14.2.2
setCLOB() method, 14.2.1.2
setCursorName() method, A.4.1
setDefaultExecuteBatch() method, 4.5.5.1, 23.1.2.2
setDefaultRowPrefetch() method, 4.5.5.1
setDisableStatementCaching() method, 20.2.3
setEscapeProcessing() method, A.3
setExecuteBatch() method, 23.1.2.3
setFetchSize() method, 17.5.1
setFixedCHAR() method, 11.4.7.2
setMaxFieldSize() method, 23.2.2
setNCLOB() method, 14.2.1.2
setNull(), 11.2.3
setNull() method, 11.4.7
setObejct() method, 11.4.6
setObject() method
for BFILES, 14.6.1
for CustomDatum objects, 13.3.6
for object references, 15.3.3
for STRUCT objects, 13.2.4
to write object data, 13.3.7
setOracleObject() method, 11.4.6
for BFILES, 14.6.1
for BLOBs and CLOBs, 14.2.1.2
setORAData() method, 13.3.6, 13.3.7
setPlsqlIndexTable() method, 4.7.1, 4.7.2
arguments
int curLen, 4.7.2
int elemMaxLen, 4.7.2
int elemSqlType, 4.7.2
int maxLen, 4.7.2
int paramIndex, 4.7.2, 4.7.4
Object arrayData, 4.7.2
code example, 4.7.2
setPoolConfig() method, 24.3
setREF() method, 15.3.3
setRemarksReporting() method, 23.2.3
setResultSetCache() method, 17.1.2
setRowPrefetch() method, 4.5.5.2
setString() limitations, using streams to avoid, 12.7.2
setString() method
to bind ROWIDs, 4.5.1
setTransactionIsolation() method, B.3
setValue() method, 15.2.2
setXXX() methods
Oracle extended properties, 8.1.2
setXXX() methods, for specific data types, 11.4.7
signed applets, 5.3.1
Solaris
shared libraries, 28.5.1
specifiers
database, 8.2
SQL
data converting to Java data types, 11.2
types, constants for, 4.5.5.7
SQL engine
relation to the KPRB driver, 7.1
SQL syntax (Oracle), A.3
SQL92 syntax, A.3
function call syntax, A.3.5
LIKE escape characters, A.3.3
outer joins, A.3.4
scalar functions, A.3.2
time and date literals, A.3.1
translating to SQL example, A.3.6
SQLData interface, 4.2.3
advantages, 13.3.1
described, 13.3.4
Oracle object types, 13
reading data from Oracle objects, 13.3.5
using with type map, 13.3.4
writing data from Oracle objects, 13.3.5
SQLInput interface, 13.3.4
described, 13.3.4
SQLInput streams, 13.3.4
SQLNET.ORA
parameters for tracing, D.2.1
SQLOutput interface, 13.3.4
described, 13.3.4
SQLOutput streams, 13.3.4
SQLWarning class, limitations, A.4.6
SSL
and LDAP, 8.2
start a distributed transaction branch, 28.2.4
Statement caching
explicit
definition of, 20.1.3
null data, 20.2.4
implicit
definition of, 20.1.2
Least Recently Used (LRU) algorithm, 20.1.2
Statement object
closing, 2.3.6
creating, 2.3.3
statement.cancel(), D.1.5
statements
Oracle extensions, 11.3
stopping
statement execution, D.1.5
stored procedures
Java, 2.5.2
PL/SQL, 2.5.1
stream data, 12, 14.2.2
CHAR columns, 12.3
closing, 12.6
example, 12.2.3
external files, 12.4
LOBs, 12.4
LONG columns, 12.2
LONG RAW columns, 12.2
multiple columns, 12.5
precautions, 12.7.1
RAW columns, 12.3
row prefetching, 12.7.3
UPDATE/COMMIT statements, 14.2.2
use to avoid setBytes() and setString() limitations, 12.7.2
VARCHAR columns, 12.3
stream data column
bypassing, 12.5
STRUCT class, 4.3.1
STRUCT descriptor, 13.2.3, 13.2.3
STRUCT object, 4.3.1
attributes, 4.3.1
creating, 13.2.3
embedded object, 13.2.2
nested objects, 4.3.1
retrieving, 13.2.2
retrieving attributes as oracle.sql types, 13.2.2
StructDescriptor object
creating, 13.2.3
SYS.ANYDATA, 4.5.4
SYS.ANYTYPE, 4.5.4

T

TABLE_REMARKS columns, 23.2
TABLE_REMARKS reporting
restrictions on, 23.2.3
TAF, definition of, 27.1
TCP/IP protocol, 8.2
testing
for NULL values, 11.2.3
Thin driver
applets, 5.3
LDAP over SSL, 8.2
overview, 1.1.1
server-side, overview, 1.1.1
time and date literals, SQL92 syntax, A.3.1
tnsEntry, 8.1.2, 28.5.1
toDatum() method
applied to CustomDatum objects, 13.3.1, 13.3.6
called by setORAData() method, 13.3.7
toJDBC() method, 13.2.1, 13.2.1
toJdbc() method, 4.3.1
toString() method, 4.4.3
trace facility, D.2.1
trace parameters
client-side, D.2.1.1
server-side, D.2.1.2
transaction branch, 28.1
transaction branch ID component, 28.2.5
transaction context
for KPRB driver, 7.4
transaction IDs (distributed transactions), 28.1.2
transaction managers, 28.1.1
transaction savepoints, 3.2.1
transactions
switching between local and global, 28.1.3
Transparent Application Failover (TAF), definition of, 27.1
TTC error messages, listed, C.4
type map, 4.2.3, 11.4.1
adding entries, 13.3.3.1
and STRUCTs, 13.3.3.3
creating a new map, 13.3.3.2
used with arrays, 16.4.2.4
used with SQLData interface, 13.3.4
using with arrays, 16.5
type map (SQL to Java), 13.3
type mapping
BigDecimal mapping, 13.5.2
JDBC mapping, 13.5.2
object JDBC mapping, 13.5.2
Oracle mapping, 13.5.2
type mappings
JPublisher options, 13.5.2
type maps
relationship to database connection, 7.2
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, 4.5.5.7

U

unicode data, 4.4.2
updatability in result sets, 17.1.1
updatable result set concurrency type, 17.1.1
updatable result sets
creating, 17.2.1
DELETE operations, 17.4.1
INSERT operations, 17.4.3
limitations, 17.2.2
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, 23.1.1
overview, statements supported, 23.1.1
update batching (Oracle model)
batch value, checking, 23.1.2.4
batch value, overriding, 23.1.2.5
committing changes, 23.1.2.6
connection batch value, setting, 23.1.2.2
connection vs. statement batch value, 23.1.2
default batch value, 23.1.2.1
disable auto-commit, 23.1.2
example, 23.1.2.7
limitations and characteristics, 23.1.2.1
overview, 23.1.2
statement batch value, setting, 23.1.2.3
stream types not allowed, 23.1.2.1
update counts, 23.1.2.7
update batching (standard model)
adding to batch, 23.1.3.2
clearing the batch, 23.1.3.5
committing changes, 23.1.3.4
error handling, 23.1.3.7
example, 23.1.3.6
executing the batch, 23.1.3.3
intermixing batched and non-batched, 23.1.3.8
overview, 23.1.3
update counts, 23.1.3.6
update counts upon error, 23.1.3.7
update conflicts in result sets, 17.4.4
update counts
Oracle update batching, 23.1.2.7
standard update batching, 23.1.3.6
upon error (standard batching), 23.1.3.7
UPDATE in a result set, 17.4.2
updateRow() method (result set), 17.4.2
updatesAreDetected() method (database metadata), 17.7.3
updateXXX() methods (result set), 17.4.2, 17.4.3
updating result sets, 17.4
url, 8.1.2
URLs
for KPRB driver, 7.2
userid, specifying, 2.3.2

W

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

X

XA
connection implementation, 28.2.2
connections (definition), 28.1.2
data source implementation, 28.2.1
data sources (definition), 28.1.2
definition, 28.1
error handling, 28.3.3
example of implementation, 28.4
exception classes, 28.3.1
Oracle optimizations, 28.3.4
Oracle transaction ID implementation, 28.2.5
resource implementation, 28.2.3
resources (definition), 28.1.2
transaction ID interface, 28.2.5
XAException, 28.2.4
Xids, 28.2.4