Skip Headers
Oracle® Database JDBC Developer's Guide and Reference
10g Release 2 (10.2)

Part Number B14355-02
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
View PDF

Index

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

A

absolute positioning in result sets, 19.1.1
acceptChanges() method, 20.2
Accessing PL/SQL Index-by Tables, 5.2.5
addBatch() method, 25.1.3
APPLET HTML tag, 6.3.5.1
applets
connecting to a database, 6.3.1
deploying in an HTML page, 6.3.5
packaging, 6.3.4, 6.3.4
packaging and deploying, 1.3.1
signed applets
browser security, 6.3.2.2
object-signing certificate, 6.3.2.2
using signed applets, 6.3.2.2
using with firewalls, 6.3.3
ARCHIVE, parameter for APPLET tag, 6.3.5.3
ARRAY
class, 5.3.1
descriptors, 5.3.1
objects, creating, 5.3.1, 18.4.1
array descriptor
creating, 18.4.3
ArrayDescriptor object, 18.4.1, 18.4.3
creating, 18.4.1
deserialization, 18.4.1, 18.4.1
get methods, 18.4.1
serialization, 18.4.1
setConnection() method, 18.4.1
arrays
defined, 18.1
getting, 18.4.2.6
named, 18.1
passing to callable statement, 18.4.3
retrieving from a result set, 18.4.2.1
retrieving partial arrays, 18.4.2.5
using type maps, 18.5
working with, 18.1
authentication (security), 10.2
auto-commit, 3.1.8
auto-commit mode
disabling, B.2.1
result set behavior, B.2.1

B

batch jobs, authenticating users in, 10.4
batch updates--see update batching
batch value
checking value, 25.1.2
connection batch value, setting, 25.1.2
connection vs. statement value, 25.1.2
default value, 25.1.2
overriding value, 25.1.2
statement batch value, setting, 25.1.2
BatchUpdateException, 25.1.3
beforeFirst() method, 20.1.4
BFILE
accessing data, 16.6.4
class, 5.3.1
creating and populating columns, 16.6.3
defined, 14.4
introduction, 16.1
locators, 16.6.1
getting from a result set, 16.6.1
getting from callable statement, 16.6.1
passing to callable statements, 16.6.1
passing to prepared statements, 16.6.1
manipulating data, 16.6.4
reading data, 16.6.2
BFILE locator, selecting, 5.3.1
BigDecimal mapping (for attributes), 15.5.2
BLOB, 16.2.1.2, 16.2.1.2
class, 5.3.1
creating and populating, 16.2.3
creating columns, 16.2.3
getting locators, 16.2.1.1
interface changes, 4.7
introduction, 16.1
locators
getting from result set, 16.2.1.1
selecting, 5.3.1
manipulating data, 16.2.4
populating columns, 16.2.3
reading data, 16.2.2, 16.2.2
writing data, 16.2.2
BLOBs
size limit with PL/SQL prodcedures, 16.2.1.2
Boolean parameters, restrictions, D.1.3
branch qualifier (distributed transactions), 29.2.5

C

CachedRowSet, 20.2
caching, client-side
custom use for scrollable result sets, 19.1.2
Oracle use for scrollable result sets, 19.1.2
callable statement
getting a BFILE locator, 16.6.1
getting LOB locators, 16.2.1.1
passing BFILE locator, 16.6.1
passing LOB locators, 16.2.1.2
using getOracleObject() method, 13.4.2
cancelling
SQL statements, D.1.5
cancelRowUpdates() method (result set), 19.4.2
casting return values, 13.4.5
catalog arguments (DatabaseMetaData), A.4.5
CHAR class
conversions with KPRB driver, 8.7
CHAR columns
space padding, D.1.1
using setFixedCHAR() to match in WHERE, 13.4.7.4
character sets, 5.4.3
conversions with KPRB driver, 8.7
checksums
code example, 10.3.3
setting parameters in Java, 10.3.3
support by OCI drivers, 10.3.1
support by Thin driver, 10.3.2
CLASSPATH, specifying, 2.2.2
clearBatch() method, 25.1.3
clearClientIdentifier() method, 5.5.4.1
clearDefines() method, 25.2.2
CLOB
class, 5.3.1
creating and populating, 16.2.3
creating columns, 16.2.3
interface changes, 4.7
introduction, 16.1
locators, 16.2.1.1
getting from result set, 16.2.1.1
passing to callable statements, 16.2.1.2
passing to prepared statement, 16.2.1.2
locators, selecting, 5.3.1
manipulating data, 16.2.4
populating columns, 16.2.3
reading data, 16.2.2, 16.2.2
writing data, 16.2.2
close(), 22.1.3
close() method, 5.5.4.2, 5.5.4.3, 5.5.4.4, D.1.2
for caching statements, 22.2.2, 22.2.3
closeFile() method, 16.6.5
closeWithKey(), 22.1.3
closeWithKey() method, 22.2.4, 22.2.4
CMAN.ORA file, creating, 6.3.2.1
CODE, parameter for APPLET tag, 6.3.5.1
CODEBASE, parameter for APPLET tag, 6.3.5.2
collections
defined, 18.1
collections (nested tables and arrays), 18.4.1
column types
defining, 25.2.2
redefining, 25.2
commit a distributed transaction branch, 29.2.4
commit changes to database, 3.1.8
CONCUR_READ_ONLY result sets, 19.2.1
CONCUR_UPDATABLE result sets, 19.2.1
concurrency types in result sets, 19.1.1
CONNECT /feature, 10.4
connect string
Connection Manager, 6.3.2.1
connection
closing, 3.1.9
from KPRB driver, 1.4
opening, 3.1.2
connection attributes, 23.3
connection cache properties, 23.4
Connection Manager, 6.3.1
installing, 6.3.2.1
starting, 6.3.2.1
using, 6.3.2.1
using multiple managers, 6.3.2.1
writing the connect string, 6.3.2.1
connection methods, JDBC 2.0 result sets, 19.8.1
connection properties, 9.1.5
put() method, 9.1.9
connections
read-only, B.3
constants for SQL types, 5.5.4.7
CREATE DIRECTORY statement
for BFILEs, 16.6.3
CREATE TABLE statement
to create BFILE columns, 16.6.3
to create BLOB, CLOB columns, 16.2.3
CREATE TYPE statement, 15.4.1
create() method
for ORADataFactory interface, 15.3.6
createDescriptor() method, 15.2.3, 18.4.1
createStatement(), 22.1.3
createStatement() method, 5.5.4.1, 22.2.4
createTemporary() method, 16.4
CursorName
limitations, A.4.1
cursors, D.1.2
custom collection classes
and JPublisher, 18.6
defined, 18.1.1, 18.6
custom Java classes, 5.2.2
defined, 15.1
custom object classes
creating, 15.3
defined, 15.1
custom reference classes
and JPublisher, 17.5
defined, 17.1, 17.5

D

data conversions, 13.2
LONG, 14.2.2
LONG RAW, 14.2.1
data sources
creating and connecting (with JNDI), 9.1.4
creating and connecting (without JNDI), 9.1.3
logging and tracing, 9.1.10
Oracle implementation, 9.1.2
PrintWriter, 9.1.10
properties, 9.1.2
standard interface, 9.1.2
data streaming
avoiding, 14.2.4
data type classes, 5.3.1
data type mappings, 13.1
data types
Java, 13.1
Java native, 13.1
JDBC, 13.1
Oracle SQL, 13.1
database
connecting
from an applet, 6.3.1
via multiple Connection Managers, 6.3.2.1
with server-side internal driver, 8.2
connection testing, 2.2.5
database meta data methods, JDBC 2.0 result sets, 19.8.4
database specifiers, 9.2
database URL
including userid and password, 3.1.2
database URL, specifying, 3.1.2
database URLs
and database specifiers, 9.2
DatabaseMetaData calls, A.4.5
DatabaseMetaData class, A.3.2
datasources, 9.1
and JNDI, 9.1.4
DATE class, 5.3.1
DBMS_SERVICE.SERVICE_TIME, 24.3
DBMS_SERVICE.THROUGHPUT, 24.3
debugging JDBC programs, D.2
DEFAULT_CHARSET character set value, 5.4.3
defaultConnection() method, 8.2
defineColumnType() method, 5.5.4.2, 14.2.4, 25.2.2
DELETE in a result set, 19.4.1
deleteRow() method (result set), 19.4.1
deletesAreDetected() method (database meta data), 19.7.3
deserialization
ArrayDescriptor object, 18.4.1
creating a StructDescriptor object, 15.2.3
creating an ArrayDescriptor object, 18.4.1
definition of, 15.2.3, 18.4.1
StructDescriptor object, 15.2.3
distributed transaction ID component, 29.2.5
distributed transactions
branch qualifier, 29.2.5
check for same resource manager, 29.2.4
commit a transaction branch, 29.2.4
components and scenarios, 29.1.1
concepts, 29.1.2
distributed transaction ID component, 29.2.5
end a transaction branch, 29.2.4
example of implementation, 29.4
global transaction identifier, 29.2.5
ID format identifier, 29.2.5
introduction, 29.1
Oracle XA connection implementation, 29.2.2
Oracle XA data source implementation, 29.2.1
Oracle XA ID implementation, 29.2.5
Oracle XA optimizations, 29.3.4
Oracle XA resource implementation, 29.2.3
prepare a transaction branch, 29.2.4
roll back a transaction branch, 29.2.4
start a transaction branch, 29.2.4
transaction branch ID component, 29.2.5
XA connection interface, 29.2.2
XA data source interface, 29.2.1
XA error handling, 29.3.3
XA exception classes, 29.3.1
XA ID interface, 29.2.5
XA resource functionality, 29.2.4
XA resource interface, 29.2.3
DML Returning, 5.2.4, 5.6
example, 5.6.3
limitations, 5.6.4
Oracle-specific APIs, 5.6.1
running statements, 5.6.2
DMS
and end-to-end matrics, 30.1
Double.NaN
restrictions on use, 5.3.1
driverType, 9.1.2

E

enabling SSL, 11.3.3
encryption
code example, 10.3.3
overview, 10.3
setting parameters in Java, 10.3.3
support by OCI drivers, 10.3.1
support by Thin driver, 10.3.2
end a distributed transaction branch, 29.2.4
end-to-end matrics
and DMS, 30.1
end-to-end metrics, 30
Enterprise Java Beans (EJB), 20.2
environment variables
specifying, 2.2.2
errors
general JDBC message structure, C.1
general JDBC messages, listed, C.2
processing exceptions, 3.4
TTC messages, listed, C.4
exceptions
retrieving error code, 3.4
retrieving message, 3.4
retrieving SQL state, 3.4
execute() method, 20.3
executeBatch() method, 25.1.3
executeQuery() method, 5.5.4.2
executeUpdate() method, 25.1.2
explicit statement caching
definition of, 22.1.3
null data, 22.2.4
extensions to JDBC, Oracle, 5, 13, 15, 17, 18, 25
external changes (result set)
defined, 19.7
seeing, 19.7.2
visibility vs. detection, 19.7.3
external file
defined, 14.4

F

failover
fast connection, 27
Fast Connection Failover, 27
fast connection failover
prerequisites, 27.2.1
fetch direction in result sets, 19.3.2
fetch size, result sets, 19.5
FilteredRowSet, 20.5
finalizer methods, D.1.2
firewalls
configuring for applets, 6.3.3.1
connect string, 6.3.3.2
described, 6.3.3
required rule list items, 6.3.3.1
using with applets, 1.3.1, 6.3.3
Firewalls, using with JDBC, D.1.6
floating-point compliance, A.4.4
Float.NaN
restrictions on use, 5.3.1
format identifier, transaction ID, 29.2.5
forward-only result sets, 19.1.1
freeTemporary() method, 16.4, 16.4
function call syntax, SQL92 syntax, A.3.5

G

getARRAY() method, 18.4.2.1
getArray() method, 18.2.2, 18.3.3, 18.4.2.2
using type maps, 18.4.2.4
getArrayType() method, 18.4.1
getAsciiStream() method, 16.2.5, 16.2.5
for reading CLOB data, 16.2.2
getAttributes() method
used by Structs, 15.3.3.3
getAutoBuffering() method
of the oracle.sql.ARRAY class, 18.3.2
of the oracle.sql.STRUCT class, 15.2.5
getBaseName() method, 18.4.1
getBaseType() method, 18.2.2, 18.4.1, 18.4.2.6
getBaseTypeName() method, 17.2.2, 18.2.2
getBinaryStream() method, 14.2.3, 16.6.5
for reading BFILE data, 16.6.2
for reading BLOB data, 16.2.2
getBufferSize() method, 16.2.5, 16.2.5
getBytes() method, 5.3.1, 14.2.3, 16.2.5, 16.6.5
getCallWithKey(), 22.1.3
getCallWithKey() method, 22.2.4, 22.2.4
getCharacterStream() method, 16.2.5, 16.2.5
for reading CLOB data, 16.2.2
getChars() method, 16.2.5
getChunkSize() method, 16.2.5, 16.2.5
getColumnCount() method, 13.5
getColumnName() method, 13.5
getColumns() method, 25.2.3
getColumnType() method, 13.5
getColumnTypeName() method, 13.5
getConcurrency() method (result set), 19.2.2
getConnection() method, 8.2, 18.4.1, 26.4
getCursor() method, 5.5.2, 5.5.2
getCursorName() method
limitations, A.4.1
getDefaultExecuteBatch() method, 5.5.4.1, 25.1.2
getDefaultRowPrefetch() method, 5.5.4.1, 25.2.1.1
getDescriptor() method, 15.2.1, 18.2.2
getDirAlias() method, 16.6.4, 16.6.5
getErrorCode() method (SQLException), 3.4
getExecuteBatch() method, 5.5.4.3, 25.1.2, 25.1.2
getFetchSize() method, 19.5.1
getJavaSQLConnection() method, 15.2.1, 18.2.2
getJavaSqlConnection() method, 5.5.4.8
getMaxLength() method, 18.4.1
getMessage() method (SQLException), 3.4
getName() method, 16.6.4, 16.6.5
getNumericFunctions() method, A.3.2
getObject() method
casting return values, 13.4.5
for object references, 17.3.1
for ORAData objects, 15.3.6
for SQLInput streams, 15.3.4
for SQLOutput streams, 15.3.4
for Struct objects, 15.2.2
return types, 13.4.1, 13.4.3
to get BFILE locators, 16.6.1
to get Oracle objects, 15.2.2
used with ORAData interface, 15.3.7
getOracleArray() method, 18.2.2, 18.4.2.2, 18.4.2.6
getOracleAttributes() method, 15.2.1, 15.2.2
getOracleObject() method, 5.5.4.4, 5.5.4.5
casting return values, 13.4.5
return types, 13.4.2, 13.4.3
using in callable statement, 13.4.2
using in result set, 13.4.2
getOraclePlsqlIndexTable() method, 5.7.1, 5.7.3, 5.7.4
argument
int paramIndex, 5.7.4
code example, 5.7.4
getORAData() method, 15.3.6, 15.3.7
getPassword() method, 9.1.2
getPlsqlIndexTable() method, 5.7.1, 5.7.3, 5.7.3, 5.7.4, 5.7.4
arguments
Class primitiveType, 5.7.4
int paramIndex, 5.7.4
code example, 5.7.4, 5.7.4
getProcedureColumns() method, 25.2.3
getProcedures() method, 25.2.3
getREF() method, 17.3.1
getResultSet() method, 5.5.4.2, 18.2.2
getRow() method (result set), 19.3.1
getRowPrefetch() method, 5.5.4.2, 25.2.1.1
getSQLState() method (SQLException), 3.4
getSQLTypeName() method, 15.2.1, 18.2.2, 18.4.2.6
getStatementCacheSize() method
code example, 22.2.1
getStatementWithKey(), 22.1.3
getStatementWithKey() method, 22.2.4, 22.2.4
getString() method, 5.4.3
to get ROWIDs, 5.5.1
getStringFunctions() method, A.3.2
getStringWithReplacement() method, 5.4.3
getSTRUCT() method, 15.2.2
getSubString() method, 16.2.5
for reading CLOB data, 16.2.2
getSystemFunctions() method, A.3.2
getTimeDateFunctions() method, A.3.2
getTransactionIsolation() method, 5.5.4.1, B.3
getType() method (result set), 19.2.2
getTypeMap() method, 5.5.4.1, 15.3.3.1
getUpdateCounts() method (BatchUpdateException), 25.1.3
getValue() method, 17.2.2
for object references, 17.3.1
getXXX() methods
casting return values, 13.4.5
for specific data types, 13.4.4
Oracle extended properties, 9.1.2
global transaction identifier (distributed transactions), 29.2.5
global transactions, 29.1
globalization, 21
using, 21

H

HEIGHT, parameter for APPLET tag, 6.3.5.1
HTML tags, to deploy applets, 6.3.5

I

IEEE 754 floating-point compliance, A.4.4
implicit connection cache, 23
example, 23.2.6
implicit statement caching
definition of, 22.1.2
Least Recently Used (LRU) scheme, 22.1.2
IN OUT parameter mode, 5.7.3
IN parameter mode, 5.7.2
INSERT in a result set, 19.4.3
INSERT INTO statement
for creating BFILE columns, 16.6.3
insertRow() method (result set), 19.4.3
insertsAreDetected() method (database meta data), 19.7.3
installation
directories and files, 2.2.1
verifying on the client, 2.2
Instant Client feature, 7.4.1
integrity
code example, 10.3.3
overview, 10.3
setting parameters in Java, 10.3.3
support by OCI drivers, 10.3.1
support by Thin driver, 10.3.2
internal changes (result set)
defined, 19.7
seeing, 19.7.1
isAfterLast() method (result set), 19.3.1
isBeforeFirst() method (result set), 19.3.1
isFileOpen() method, 16.6.5
isFirst() method (result set), 19.3.1
isLast() method (result set), 19.3.1
isSameRM() (distributed transactions), 29.2.4
isTemporary() method, 16.4, 16.4

J

Java
compiling and running, 2.2.3
data types, 13.1
native data types, 13.1
stored procedures, 3.3.2
stream data, 14
Java Naming and Directory Interface (JNDI), 9.1.1
Java Sockets, 1.2.2
Java virtual machine (JVM), 8.1
java.math, Java math packages, 3.1.1
java.sql, JDBC packages, 3.1.1
java.sql.SQLException() method, 3.4
java.sql.Struct class
getSQLTypeName() method, 15.2.1
java.sql.Types class, 25.2.2
java.util.Map class, 18.4.2.5
java.util.Properties, 26.3
JDBC
and IDEs, 1.5.3
basic program, 3.1
data types, 13.1
defined, 1.1
importing packages, 3.1.1
limitations of Oracle extensions, A.4
sample files, 2.2.3
testing, 2.2.5
version support, 4
JDBC 2.0 support
data type support, 4.2.1
extended feature support, 4.2.3
introduction, 4.1
JDK 1.2.x vs. JDK 1.1.x, 4.2, 4.3
overview of features, 4.4
standard feature support, 4.2.2
JDBC drivers
applets, 1.3.1
choosing a driver for your needs, 1.2.6
common features, 1.2.1
common problems, D.1
determining driver version, 2.2.4
introduction, 1.2
restrictions, D.1.3
SQL92 syntax, A.3
JDBC mapping (for attributes), 15.5.2
JdbcCheckup program, 2.2.5
JDBCRowSet, 20.3
JDBCSpy, D.2.2
JDBCTest, D.2.2
JDeveloper, 1.5.3
JDK
versions supported, 1.5.1
JNDI
and datasources, 9.1.4
looking up data source, 9.1.4
overview of Oracle support, 9.1.1
registering data source, 9.1.4
JoinRowSet, 20.6
JPublisher, 15.3.7, 15.5.1
JPublisher utility, 15.3
creating custom collection classes, 18.6
creating custom Java classes, 15.5
creating custom reference classes, 17.5
SQL type categories and mapping options, 15.5.2
type mapping modes and settings, 15.5.2
type mappings, 15.5.2
JSSE properties, 11.3.2
example, 11.3.2
JVM, 8.1

K

KPRB driver
overview, 1.2.5
relation to the SQL engine, 8.1
session context, 8.4
testing, 8.5
transaction context, 8.4
URL for, 8.2

L

LD_LIBRARY_PATH variable, specifying, 2.2.2
LDAP
and SSL, 9.2
Least Recently Used (LRU) scheme, 22.1.2, 26.3
length() method, 16.2.5, 16.2.5, 16.6.5, 18.2.2
libheteroxa10_g.so shared library, 29.5.1
libheteroxa10.so shared library, 29.5.1
LIKE escape characters, SQL92 syntax, A.3.3
limitations on setBytes() and setString(), use of streams to avoid, 14.7.2
Load Balancing Advisory, 24.2
LOB
defined, 14.4
introduction, 16.1
locators, 16.1
reading data, 16.2.2
LOB locators
getting from callable statements, 16.2.1.1
passing, 16.2.1.2
LOBs
empty, 16.2.5
new interface methods, 4.7
locators
getting for BFILEs, 16.6.1
getting for BLOBs, 16.2.1.1
getting for CLOBs, 16.2.1.1
LOB, 16.1
passing to callable statements, 16.2.1.2
passing to prepared statement, 16.2.1.2
logging with a data source, 9.1.10
LONG
data conversions, 14.2.2
LONG RAW
data conversions, 14.2.1
LRU scheme, 22.1.2, 26.3

M

make() method, 5.4.3
memory leaks, D.1.2
metrics
end-to-end, 30
moveToCurrentRow() method (result set), 19.4.3
moveToInsertRow() method (result set), 19.4.3
mutable arrays, 18.6

N

named arrays, 18.1
defined, 18.4.1
nativeXA, 9.1.2, 29.5.1
network events, trapping, D.2.1
next() method, 20.1.4
next() method (result set), 19.3.2
NLS. See globalization
NLS_LANG variable
desupported, 21
non-JSSE properties, 11.3.1
example, 11.3.1
NULL
testing for, 13.2.3
NULL data
converting, 13.2.2
null data
explicit statement caching, 22.2.4
NullPointerException
thrown when converting Double.NaN and Float.NaN, 5.3.1
NUMBER class, 5.3.1

O

object references
accessing object values, 17.3.1, 17.4, 17.4
described, 17.1
passing to prepared statements, 17.3.3
retrieving, 17.3.1
retrieving from callable statement, 17.3.2
updating object values, 17.3.1, 17.4, 17.4
object-JDBC mapping (for attributes), 15.5.2
OCI driver
described, 1.2.3
ODBCSpy, D.2.2
ODBCTest, D.2.2
ONS
configuring, 27.2.2
ons.config file, 27.2.2.1, 27.2.2.1, 27.2.2.3
openFile() method, 16.6.5
optimization, performance, B.2
Oracle Advanced Security
support by JDBC, 10.1
support by OCI drivers, 10.1.1
support by Thin driver, 10.1.2
Oracle Connection Manager, 1.3.1, 6.3.1
Oracle data types
using, 13
Oracle extensions, 5.2
data type support, 5.2.1
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, 5.2.2
result sets, 13.3
statements, 13.3
to JDBC, 5, 13, 15, 17, 18, 25
Oracle JPublisher, 5.2.2
generated classes, 15.4.2.3
Oracle mapping (for attributes), 15.5.2
Oracle Notification Service. See ONS
Oracle objects
and JDBC, 15.1
converting with ORAData interface, 15.3.6
converting with SQLData interface, 15.3.4
getting with getObject() method, 15.2.2
Java classes which support, 15.2
mapping to custom object classes, 15.3
reading data by using SQLData interface, 15.3.5
working with, 15.1
writing data by using SQLData interface, 15.3.5
Oracle SQL data types, 13.1
OracleCallableStatement interface, 5.5.4.4
getOraclePlsqlIndexTable() method, 5.7.1
getPlsqlIndexTable() method, 5.7.1
getXXX() methods, 13.4.4
registerIndexTableOutParameter() method, 5.7.1, 5.7.3
registerOutParameter() method, 13.4.7
setPlsqlIndexTable() method, 5.7.1, 5.7.2
OracleCallableStatement object, 22.1.2, 22.1.2
OracleConnection class, 5.5.4.1
OracleConnection interface, 26.3
OracleConnection object, 22.1.1
OracleDatabaseMetaData class, A.3.2
OracleDataSource class, 9.1.2, 26.3, 26.3
oracle.jdbc. package, 5.5.4
oracle.jdbc., Oracle JDBC extensions, 3.1.1
oracle.jdbc.OracleCallableStatement interface, 5.5.4.4
close() method, 5.5.4.4
getOracleObject() method, 5.5.4.4
getXXX() methods, 5.5.4.4, 5.5.4.5
registerOutParameter() method, 5.5.4.4
setNull() method, 5.5.4.4
setOracleObject() methods, 5.5.4.4
setXXX() methods, 5.5.4.4
oracle.jdbc.OracleConnection interface, 5.5.4.1
clearClientIdentifier() method, 5.5.4.1
createStatement() method, 5.5.4.1
getDefaultExecuteBatch() method, 5.5.4.1
getDefaultRowPrefetch() method, 5.5.4.1
getTransactionIsolation() method, 5.5.4.1, B.3
getTypeMap() method, 5.5.4.1
prepareCall() method, 5.5.4.1
prepareStatement() method, 5.5.4.1
setClientIdentifier() method, 5.5.4.1
setDefaultExecuteBatch() method, 5.5.4.1
setDefaultRowPrefetch() method, 5.5.4.1
setTransactionIsolation() method, 5.5.4.1, B.3
setTypeMap() method, 5.5.4.1
oracle.jdbc.OraclePreparedStatement interface, 5.5.4.3
close() method, 5.5.4.3
getExecuteBatch() method, 5.5.4.3
setExecuteBatch() method, 5.5.4.3
setNull() method, 5.5.4.3
setOracleObject() method, 5.5.4.3
setORAData() method, 5.5.4.3
setXXX() methods, 5.5.4.3
oracle.jdbc.OracleResultSet, 13.3
oracle.jdbc.OracleResultSet interface, 5.5.4.5
getOracleObject() method, 5.5.4.5
oracle.jdbc.OracleResultSetMetaData interface, 5.5.4.6, 13.5
getColumnCount() method, 13.5
getColumnName() method, 13.5
getColumnType() method, 13.5
getColumnTypeName() method, 13.5
using, 13.5
oracle.jdbc.OracleSql class, A.3.6
oracle.jdbc.OracleStatement, 13.3
oracle.jdbc.OracleStatement interface, 5.5.4.2
close() method, 5.5.4.2
defineColumnType(), 5.5.4.2
executeQuery() method, 5.5.4.2
getResultSet() method, 5.5.4.2
getRowPrefetch() method, 5.5.4.2
setRowPrefetch() method, 5.5.4.2
oracle.jdbc.OracleTypes class, 5.5.4.7, 25.2.2
oracle.jdbc.pool package, 26.3
oracle.jdbc.xa package and subpackages, 29.1.4
OracleOCIConnection class, 26.3
OracleOCIConnectionPool class, 26, 26.3
OraclePreparedStatement interface, 5.5.4.3
getOraclePlsqlIndexTable() method, 5.7.1
getPlsqlIndexTable() method, 5.7.1
registerIndexTableOutParameter() method, 5.7.1
setPlsqlIndexTable() method, 5.7.1, 5.7.2
OraclePreparedStatement object, 22.1.2, 22.1.2
OracleResultSet interface, 5.5.4.5
getXXX() methods, 13.4.4
OracleResultSetCache interface, 19.1.2
OracleResultSetMetaData interface, 5.5.4.6
OracleServerDriver class
defaultConnection() method, 8.2
oracle.sql data type classes, 5.3.1
oracle.sql package
data conversions, 13.2
described, 5.3.1
oracle.sql.ARRAY class, 18.1.1
and nested tables, 5.3.1
and VARRAYs, 5.3.1
createDescriptor() method, 18.4.1
getArray() method, 18.2.2
getArrayType() method, 18.4.1
getAutoBuffering() method, 18.3.2
getBaseType() method, 18.2.2
getBaseTypeName() method, 18.2.2
getDescriptor() method, 18.2.2
getJavaSQLConnection() method, 18.2.2, 18.4.1
getMaxLength() method, 18.4.1
getOracleArray() method, 18.2.2
getResultSet() method, 18.2.2
getSQLTypeName() method, 18.2.2
length() method, 18.2.2
methods for Java primitive types, 18.3.1
setAutoBuffering() method, 18.3.2
setAutoIndexing() method, 18.3.3, 18.3.3
oracle.sql.ArrayDescriptor class
getBaseName() method, 18.4.1
getBaseType() method, 18.4.1
oracle.sql.BFILE class, 5.3.1
closeFile() method, 16.6.5
getBinaryStream() method, 16.6.5
getBytes() method, 16.6.5
getDirAlias() method, 16.6.5
getName() method, 16.6.5
isFileOpen() method, 16.6.5
length() method, 16.6.5
openFile() method, 16.6.5
position() method, 16.6.5
oracle.sql.BLOB class, 5.3.1
getBufferSize() method, 16.2.5
getBytes() method, 16.2.5
getChunkSize() method, 16.2.5
length() method, 16.2.5
position() method, 16.2.5
putBytes() method, 16.2.5
setBinaryStream() method, 16.2.5
oracle.sql.CHAR class, 8.7
getString() method, 5.4.3
getStringWithReplacement() method, 5.4.3
toString() method, 5.4.3
oracle.sql.CharacterSet class, 5.4.3
oracle.sql.CLOB class, 5.3.1
getAsciiStream() method, 16.2.5
getBufferSize() method, 16.2.5
getCharacterStream() method, 16.2.5
getChars() method, 16.2.5
getChunkSize() method, 16.2.5
getSubString() method, 16.2.5
length() method, 16.2.5
position() method, 16.2.5
putChars() method, 16.2.5
setAsciiStream() method, 16.2.5
setCharacterStream() method, 16.2.5
setString() method, 16.2.5
supported character sets, 16.2.5
oracle.sql.data types
support, 5.3.1
oracle.sql.DATE class, 5.3.1
oracle.sql.Datum array, 5.7.4
oracle.sql.Datum class, described, 5.3.1
oracle.sql.NUMBER class, 5.3.1
oracle.sql.ORAData interface, 15.3.6
oracle.sql.ORADataFactory interface, 15.3.6
OracleSql.parse() method, A.3.6
oracle.sql.RAW class, 5.3.1
oracle.sql.REF class, 5.3.1, 17.1
getBaseTypeName() method, 17.2.2
getValue() method, 17.2.2
setValue() method, 17.2.2
oracle.sql.ROWID class, 5.3.1, 5.3.1, 5.5.1
oracle.sql.STRUCT class, 5.3.1, 15.2.1
getAutoBuffering() method, 15.2.5
getDescriptor() method, 15.2.1
getJavaSQLConnection() method, 15.2.1
getOracleAttributes() method, 15.2.1
setAutoBuffering() method, 15.2.5
toJDBC() method, 15.2.1, 15.2.1
oracle.sql.StructDescriptor class
createDescriptor() method, 15.2.3
OracleStatement interface, 5.5.4.2
OracleTypes class, 5.5.4.7
OracleTypes class for typecodes, 5.5.4.7
OracleTypes.CURSOR variable, 5.5.2
OracleXAConnection class, 29.2.2
OracleXADataSource class, 29.2.1
OracleXAResource class, 29.2.3, 29.2.4
OracleXid class, 29.2.5
ORAData interface, 5.2.2
additional uses, 15.3.8
advantages, 15.3.1
Oracle object types, 15
reading data, 15.3.7
writing data, 15.3.7
orai18n.jar file, 21.1
othersDeletesAreVisible() method (database meta data), 19.7.2
othersInsertsAreVisible() method (database meta data), 19.7.2
othersUpdatesAreVisible() method (database meta data), 19.7.2
OUT parameter mode, 5.7.3, 5.7.3, 5.7.3
outer joins, SQL92 syntax, A.3.4
ownDeletesAreVisible() method (database meta deta), 19.7.1
ownInsertsAreVisible() method (database meta data), 19.7.1
ownUpdatesAreVisible() method (database meta data), 19.7.1

P

parameter modes
IN, 5.7.2
IN OUT, 5.7.3
OUT, 5.7.3, 5.7.3, 5.7.3
password, specifying, 3.1.2
PATH variable, specifying, 2.2.2
PDA, 20.2
performance enhancements, standard vs. Oracle, 4.2.4
performance extensions
defining column types, 25.2.2
prefetching rows, 25.2.1
TABLE_REMARKS reporting, 25.2.3
performance optimization, B.2
Personal Digital Assistant (PDA), 20.2
PL/SQL
limit on BLOB size, 16.2.1.2
restrictions, D.1.3
space padding, D.1.1
stored procedures, 3.3.1
PL/SQL index-by tables, 5.7
mapping, 5.7.3
scalar data types, 5.7.1
PL/SQL types
corresponding JDBC types, 5.7.1
limitations, A.4.3
PoolConfig() method, 26.3
populate() method, 20.2
position() method, 16.2.5, 16.2.5, 16.6.5
positioning in result sets, 19.1.1
prefetching rows, 25.2, 25.2.1
suggested default, 25.2.1.2
prepare a distributed transaction branch, 29.2.4
prepareCall(), 22.1.3
prepareCall() method, 5.5.4.1, 22.2.3, 22.2.3, 22.2.3, 22.2.4
prepared statement
passing BFILE locator, 16.6.1
passing LOB locators, 16.2.1.2
PreparedStatement object
creating, 3.1.7
prepareStatement(), 22.1.3
prepareStatement() method, 5.5.4.1, 22.2.3, 22.2.3, 22.2.3, 22.2.4
code example, 22.2.3
previous() method (result set), 19.3.2
PrintWriter for a data source, 9.1.10
put() method
for Properties object, 9.1.9
for type maps, 15.3.3, 15.3.3.1
putBytes() method, 16.2.5
putChars() method, 16.2.5

Q

query, executing, 3.1.4

R

racgons, 27.2.2.3
RAW class, 5.3.1
read-only result set concurrency type, 19.1.1
readSQL() method, 15.3.4, 15.3.4
implementing, 15.3.4
REF class, 5.3.1
REF CURSORs, 5.5.2
materialized as result set objects, 5.5.2
refetching rows into a result set, 19.6, 19.7.3
refreshRow() method (result set), 19.6
registerIndexTableOutParameter() method, 5.7.1, 5.7.3
arguments
int elemMaxLen, 5.7.3
int elemSqlType, 5.7.3
int maxLen, 5.7.3
int paramIndex, 5.7.3
code example, 5.7.3
registerOutParameter() method, 5.5.4.4, 13.4.7
relative positioning in result sets, 19.1.1
remarksReporting flag, 25.2
Remote Method Invocation (RMI), 20.2
resource managers, 29.1.1
result set
auto-commit mode, B.2.1
getting BFILE locators, 16.6.1
getting LOB locators, 16.2.1.1
metadata, 5.5.4.6
Oracle extensions, 13.3
using getOracleObject() method, 13.4.2
result set enhancemennts
positioning result sets, 19.3.1
result set enhancements
concurrency types, 19.1.1
downgrade rules, 19.2.2
fetch size, 19.5
limitations, 19.2.2
Oracle scrollability requirements, 19.1.2
Oracle updatability requirements, 19.1.2
positioning, 19.1.1
processing result sets, 19.3.2
refetching rows, 19.6, 19.7.3
result set types, 19.1.1
scrollability, 19.1.1
seeing external changes, 19.7.2
seeing internal changes, 19.7.1
sensitivity to database changes, 19.1.1
specifying scrollability, updatability, 19.2.1
summary of methods, 19.8
summary of visibility of changes, 19.7.4
updatability, 19.1.1
updating result sets, 19.4
visibility vs. detection of external changes, 19.7.3
result set fetch size, 19.5
Result Set Holdability, 4.8
result set methods, JDBC 2.0, 19.8.2
result set object
closing, 3.1.6
result set types for scrollability and sensitivity, 19.1.1
result set, processing, 3.1.5
ResultSet class, 3.1.4
ResultSet() method, 18.3.3
Retrieval of Auto-Generated Keys, 4.6
return types
for getXXX() methods, 13.4.4.1
getObject() method, 13.4.3
getOracleObject() method, 13.4.3
return values
casting, 13.4.5
RMI, 20.2
roll back a distributed transaction branch, 29.2.4
roll back changes to database, 3.1.8
row prefetching, 25.2.1
and data streams, 14.7.3
ROWID class, 5.3.1
CursorName methods, A.4.1
defined, 5.5.1
ROWID, use for result set updates, 19.1.2
RowSet
events and event listeners, 20.1.2
overview, 20.1
properties, 20.1.1
traversing, 20.1.4
types, 20.1
run-time connection load balancing, 24
enabling, 24.3
how it works, 24.2
Load Balancing Advisory, 24.2
overview, 24.1

S

savepoints
transaction, 4.5
scalar functions, SQL92 syntax, A.3.2
Schema Naming, 5.2.3
scripts, authenticating users in, 10.4
scrollability in result sets, 19.1.1
scrollable result sets
creating, 19.2.1
fetch direction, 19.3.2
implementation of scroll-sensitivity, 19.7.5
positioning, 19.3.1
processing backward/forward, 19.3.2
refetching rows, 19.6, 19.7.3
scroll-insensitive result sets, 19.1.1
scroll-sensitive result sets, 19.1.1
seeing external changes, 19.7.2
visibility vs. detection of external changes, 19.7.3
scroll-sensitive result sets
limitations, 19.2.2
security
authentication, 10.2
encryption, 10.3
integrity, 10.3
Oracle Advanced Security support, 10.1
SELECT statement
to retrieve object references, 17.3.1
to select LOB locator, 16.2.4
sendBatch() method, 25.1.2, 25.1.2
sensitivity in result sets to database changes, 19.1.1
serialization
ArrayDescriptor object, 18.4.1
definition of, 15.2.3, 18.4.1
StructDescriptor object, 15.2.3
server-side internal driver
connection to database, 8.2
server-side Thin driver, overview, 1.2.4
session context, 1.4
for KPRB driver, 8.4
setAsciiStream() method, 13.4.7.3
for writing CLOB data, 16.2.2
setAutoBuffering() method
of the oracle.sql.ARRAY class, 18.3.2
of the oracle.sql.STRUCT class, 15.2.5
setAutoCommit() method, B.2.1
setAutoIndexing() method, 18.3.3, 18.3.3, 18.3.3, 18.3.3
direction parameter values
ARRAY.ACCESS_FORWARD, 18.3.3
ARRAY.ACCESS_REVERSE, 18.3.3
ARRAY.ACCESS_UNKNOWN, 18.3.3
setBFILE() method, 16.6.1
setBinaryStream() method, 13.4.7.3, 16.2.5
for writing BLOB data, 16.2.2
setBLOB() method, 16.2.1.2
setBytes() limitations, using streams to avoid, 14.7.2
setCharacterStream() method, 13.4.7.3
for writing CLOB data, 16.2.2
setClientIdentifier() method, 5.5.4.1
setCLOB() method, 16.2.1.2
setConnection() method
ArrayDescriptor object, 18.4.1
StructDescriptor object, 15.2.3
setCursorName() method, A.4.1
setDate() method, 13.4.7.3
setDefaultExecuteBatch() method, 5.5.4.1, 25.1.2
setDefaultRowPrefetch() method, 5.5.4.1, 25.2.1.1
setDisableStatementCaching() method, 22.2.3
setEscapeProcessing() method, A.3
setExecuteBatch() method, 5.5.4.3, 25.1.2
setFetchSize() method, 19.5.1
setFixedCHAR() method, 13.4.7.4
setFormOfUse() method, 5.4.2
setMaxFieldSize() method, 25.2.2
setNull(), 13.2.3
setNull() method, 5.5.4.3, 5.5.4.4, 13.4.7
setObejct() method, 13.4.6
setObject() method
for BFILES, 16.6.1
for CustomDatum objects, 15.3.6
for object references, 17.3.3
for STRUCT objects, 15.2.4
to write object data, 15.3.7
setOracleObject() method, 5.5.4.3, 5.5.4.4, 13.4.6
for BFILES, 16.6.1
for BLOBs and CLOBs, 16.2.1.2
setORAData() method, 5.5.4.3, 15.3.6, 15.3.7
setPlsqlIndexTable() method, 5.7.1, 5.7.2
arguments
int curLen, 5.7.2
int elemMaxLen, 5.7.2
int elemSqlType, 5.7.2
int maxLen, 5.7.2
int paramIndex, 5.7.2, 5.7.4
Object arrayData, 5.7.2
code example, 5.7.2
setPoolConfig() method, 26.3
setREF() method, 17.3.3
setRemarksReporting() method, 25.2.3
setResultSetCache() method, 19.1.2
setRowPrefetch() method, 5.5.4.2, 25.2.1.1
setString() limitations, using streams to avoid, 14.7.2
setString() method, 16.2.5
to bind ROWIDs, 5.5.1
setTime() method, 13.4.7.3
setTimestamp() method, 13.4.7.3
setTransactionIsolation() method, 5.5.4.1, B.3
setTypeMap() method, 5.5.4.1
setUnicodeStream() method, 13.4.7.3
setValue() method, 17.2.2
setXXX() methods
Oracle extended properties, 9.1.2
setXXX() methods, for empty LOBs, 16.2.5
setXXX() methods, for specific data types, 13.4.7
signed applets, 1.3.1
Solaris
shared libraries, 29.5.1
specifiers
database, 9.2
SQL
data converting to Java data types, 13.2
types, constants for, 5.5.4.7
SQL engine
relation to the KPRB driver, 8.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, 5.2.2
advantages, 15.3.1
described, 15.3.4
Oracle object types, 15
reading data from Oracle objects, 15.3.5
using with type map, 15.3.4
writing data from Oracle objects, 15.3.5
SQLInput interface, 15.3.4
described, 15.3.4
SQLInput streams, 15.3.4
SQLNET.ORA
parameters for tracing, D.2.1
SQLOutput interface, 15.3.4
described, 15.3.4
SQLOutput streams, 15.3.4
SQLWarning class, limitations, A.4.6
SSL
and LDAP, 9.2
SSL in JDBC, 11.3
SSL Support, 11
SSL, enabling, 11.3.3
start a distributed transaction branch, 29.2.4
statement caching
explicit
definition of, 22.1.3
null data, 22.2.4
implicit
definition of, 22.1.2
Least Recently Used (LRU) scheme, 22.1.2
statement methods, JDBC 2.0 result sets, 19.8.3
Statement object
closing, 3.1.6
creating, 3.1.3
statement.cancel(), D.1.5
statements
Oracle extensions, 13.3
stopping
statement execution, D.1.5
stored procedures
Java, 3.3.2
PL/SQL, 3.3.1
stream data, 14, 16.2.2
CHAR columns, 14.3
closing, 14.6
example, 14.2.3
external files, 14.4
LOBs, 14.4
LONG columns, 14.2
LONG RAW columns, 14.2
multiple columns, 14.5
precautions, 14.7.1
RAW columns, 14.3
row prefetching, 14.7.3
UPDATE/COMMIT statements, 16.2.2
use to avoid setBytes() and setString() limitations, 14.7.2
VARCHAR columns, 14.3
stream data column
bypassing, 14.5
STRUCT class, 5.3.1
STRUCT descriptor, 15.2.3, 15.2.3, 15.2.3
STRUCT object, 5.3.1
attributes, 5.3.1
creating, 15.2.3
embedded object, 15.2.2
nested objects, 5.3.1
retrieving, 15.2.2
retrieving attributes as oracle.sql types, 15.2.2
StructDescriptor object
creating, 15.2.3
deserialization, 15.2.3, 15.2.3
get methods, 15.2.3
serialization, 15.2.3
setConnection() method, 15.2.3

T

TABLE_REMARKS columns, 25.2
TABLE_REMARKS reporting
restrictions on, 25.2.3
TAF, definition of, 28.1
TCP/IP protocol, 9.2
testing
for NULL values, 13.2.3
Thin driver
applications, 1.3.1
LDAP over SSL, 9.2
overview, 1.2.2
server-side, overview, 1.2.4
time and date literals, SQL92 syntax, A.3.1
tnsEntry, 9.1.2, 29.5.1
toDatum() method
applied to CustomDatum objects, 15.3.1, 15.3.6
called by setORAData() method, 15.3.7
toJDBC() method, 15.2.1, 15.2.1
toJdbc() method, 5.3.1
toString() method, 5.4.3
trace facility, D.2.1
trace parameters
client-side, D.2.1.1
server-side, D.2.1.2
tracing with a data source, 9.1.10
transaction branch, 29.1
transaction branch ID component, 29.2.5
transaction context, 1.4
for KPRB driver, 8.4
transaction IDs (distributed transactions), 29.1.2
transaction managers, 29.1.1
transaction savepoints, 4.5
transactions
switching between local and global, 29.1.3
Transparent Application Failover (TAF), definition of, 28.1
TTC error messages, listed, C.4
type map, 5.2.2, 13.4.1
adding entries, 15.3.3.1
and STRUCTs, 15.3.3.3
creating a new map, 15.3.3.2
used with arrays, 18.4.2.4
used with SQLData interface, 15.3.4
using with arrays, 18.5
type map (SQL to Java), 15.3
type mapping
BigDecimal mapping, 15.5.2
JDBC mapping, 15.5.2
object JDBC mapping, 15.5.2
Oracle mapping, 15.5.2
type mappings
JPublisher options, 15.5.2
type maps
relationship to database connection, 8.2
TYPE_FORWARD_ONLY result sets, 19.2.1
TYPE_SCROLL_INSENSITIVE result sets, 19.2.1
TYPE_SCROLL_SENSITIVE result sets, 19.2.1
typecodes, Oracle extensions, 5.5.4.7

U

unicode data, 5.4.2
updatability in result sets, 19.1.1
updatable result set concurrency type, 19.1.1
updatable result sets
creating, 19.2.1
DELETE operations, 19.4.1
INSERT operations, 19.4.3
limitations, 19.2.2
refetching rows, 19.6, 19.7.3
seeing internal changes, 19.7.1
update conflicts, 19.4.4
UPDATE operations, 19.4.2
update batching
overview, Oracle vs. standard model, 25.1.1
overview, statements supported, 25.1.1
update batching (Oracle model)
batch value, checking, 25.1.2
batch value, overriding, 25.1.2
committing changes, 25.1.2
connection batch value, setting, 25.1.2
connection vs. statement batch value, 25.1.2
default batch value, 25.1.2
disable auto-commit, 25.1.2
example, 25.1.2
limitations and characteristics, 25.1.2
overview, 25.1.2
statement batch value, setting, 25.1.2
stream types not allowed, 25.1.2
update counts, 25.1.2
update batching (standard model)
adding to batch, 25.1.3
clearing the batch, 25.1.3
committing changes, 25.1.3
error handling, 25.1.3
example, 25.1.3
executing the batch, 25.1.3
intermixing batched and non-batched, 25.1.3
overview, 25.1.3
stream types not allowed, 25.1.3
update counts, 25.1.3
update counts upon error, 25.1.3
update conflicts in result sets, 19.4.4
update counts
Oracle update batching, 25.1.2
standard update batching, 25.1.3
upon error (standard batching), 25.1.3
UPDATE in a result set, 19.4.2
updateRow() method (result set), 19.4.2
updatesAreDetected() method (database meta data), 19.7.3
updateXXX() methods (result set), 19.4.2, 19.4.3
updateXXX() methods for empty LOBs, 16.2.5
updating result sets, 19.4
url, 9.1.2
URLs
for KPRB driver, 8.2
userid, specifying, 3.1.2

V

VARCHAR2 columns, D.1.1

W

WebRowSet, 20.4
WIDTH, parameter for APPLET tag, 6.3.5.1
window, scroll-sensitive result sets, 19.7.5
writeSQL() method, 15.3.4, 15.3.4
implementing, 15.3.4

X

XA
connection implementation, 29.2.2
connections (definition), 29.1.2
data source implementation, 29.2.1
data sources (definition), 29.1.2
definition, 29.1
error handling, 29.3.3
example of implementation, 29.4
exception classes, 29.3.1
Oracle optimizations, 29.3.4
Oracle transaction ID implementation, 29.2.5
resource implementation, 29.2.3
resources (definition), 29.1.2
transaction ID interface, 29.2.5
XAException, 29.2.4
Xids, 29.2.4