Errata

Java Programming with Oracle JDBC

Errata for Java Programming with Oracle JDBC

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 11
Last paragraph

Oracle DataBase Connectivity (ODBC) should read Open DataBase Connectivity (ODBC)

Anonymous   
Printed Page 15
2en

In this section: For example, you can use the 7.3.4 driver to access an 8.1.6
database, as long as you don't try to use features that didn't exist in the 7.3.4
version of the database.

the last statement maybe: that didn't exist in the 7.3.4 version of the driver.

Anonymous   
Printed Page 17
setting environment variables

The book mention:

C:oracleora81in

but the documentation from oracle mention:

"lib instead of bin" for Windows NT

JDBC OCI Drivers:
If you are installing the JDBC OCI driver, you must also set the following value for
the library path environment variable

On Solaris, set LD_LIBRARY_PATH as follows:

[Oracle Home]/lib

This directory contains the libocijdbc8.so shared object library.

On Windows NT, set PATH as follows:

[Oracle Home]lib

This directory contains the ocijdbc8.dll dynamic link library.

Anonymous   
Printed Page 116
in example 7-1

the line that reads:
OracleDataSource ds = new OracleDataSource-();

should read:
OracleDataSource ds = new OracleDataSource();

the '-' before the '()' should be removed.

Anonymous   
Printed Page 161
1st Code Example

TO_CHAR( '1980010100000000', 'YYYYMMDDHH24MISS') should use the TO_DATE function instead

Anonymous   
Printed Page 202
Example 10-6

import java.test.*; should be import java.text.*;

Anonymous   
Printed Page 413
Figure 17-1

For Figure 17-1 of P413, in my experiment with exactly the same transaction setting
as the book uses (and I use ORACLE).

when session one did a 'DELETE' on one record, the 'insert' of the same record from
session two blocked. but the book says "Insert fails with duplicate values'.

I tried out everything in this Figure, For everything else I got the same result as
the book except the above one.

Anonymous