Errata

Database Programming with JDBC and Java

Errata for Database Programming with JDBC and Java

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. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

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

Version Location Description Submitted By Date submitted Date corrected
Printed
Page i, ii, and iii
added a trademark symbol after each instance

of "Java" and "JDBC"

Anonymous    Oct 01, 1997
Printed
Page ix
added a trademark symbol after the first occurrence of "Java"

Anonymous    Oct 01, 1997
Printed
Page xi and xii
updated URLs containing "www.ora.com" to say

"www.oreilly.com" instead

Anonymous    Oct 01, 1997
Printed
Page xii
The following information has been added to the preface under

the "How to Contact Us" heading (this text replaces the paragraph of
text found under the "Requests for Comments" heading in previous
printings):


"How to Contact Us

We have tested and verified the information in this book to
the best of our ability, but you may find that features have
changed (or even that we have made mistakes!). Please let us
know about any errors you find, as well as your suggestions
for future editions, by writing to:

O'Reilly & Associates, Inc.
101 Morris Street
Sebastopol, CA 95472
1-800-998-9938 (in the U.S. or Canada)
1-707-829-0515 (international/local)
1-707-829-0104 (FAX)

You can also send us messages electronically. To be put on
the mailing list or request a catalog, send email to:

info@oreilly.com

To ask technical questions or comment on the book, send
email to:

bookquestions@oreilly.com

We have a web site for the book, where we'll list examples,
errata, and any plans for future editions. You can access
this page at:

http://www.oreilly.com/catalog/9781565922709/

For more information about this book and others, see the
O'Reilly web site:

http://www.oreilly.com"

This addition of text through off the page breaks for pages xiii
and xiv.

Anonymous    Jan 01, 2000
Printed
Page xi
In the fifth line of the third paragraph, a bad linebreak in

the URL:

http://www.oreilly.com/catalog/9781565922709/persistence/

was corrected.

Anonymous    Mar 01, 2000
Printed
Page 16
in table 2-3: in the first column (band_id) change 3 to 5

and 4 to 6. The sentence before the table should read as follows:

If John Lydon is represented by musician ID 2, Public Image Limited
is band ID 5, and the Sex Pistols are band ID 6, one section of the
band_musician table would look like Table 2-3.

Anonymous    Sep 01, 1997
Printed
Page 16
In the 9/97 and 10/97 printings, Figure 3-2 accidentally

replaced Figure 2-1. To view the correct Figure 2-1, return the to
main errata page and click on the "Figure 2-1" link. The correct
Figure 2-1 has been put in print in the 1/00 printing.

Anonymous    Jan 01, 2000
Printed
Page 19
In code sample 4, line 2:

"from"

was changed to:

"FROM"

Anonymous    Mar 01, 2000
Printed
Page 35
code example top: change

bundle b = ResourceBundle.getBundle(Locale.getDefault());
button b = new Button(b.getString("SAVE"));

to:

ResourceBundle bundle = ResourceBundle.getBundle(Locale.getDefault());
Button button = new Button(bundle.getString("SAVE"));

Anonymous    Sep 01, 1997
Printed
Page 36
In Figure 3-7, the boxes for Persistent Set Peer and

Database Set Peer were switched. The Figure now reads

"Persistent Set" has "Persistent Set Peer" is
"Database Set Peer"

Anonymous    Mar 01, 2000
Printed
Page 50
code line -4: changed

Connection con;

to:

Connection connection = null;

Anonymous    Sep 01, 1997
Printed
Page 51

Code sample 1, line 7 used to read:

"args[1]. args[2]"

It now reads:

"args[1], args[2]"

Anonymous    Mar 01, 2000
Printed
Page 53
same change to code line 4

Anonymous    Sep 01, 1997
Printed
Page 53
The font for

"ResultSet"

in para. 2, line 1 was corrected.

Anonymous    Mar 01, 2000
Printed
Page 54
same change to last line on page. Also, on line -12, changed

"x" to "update_count"

Anonymous    Sep 01, 1997
Printed
Page 60
Code sample 2, line 1 used to read:

"PrepapredStatement"

It now reads:

"PreparedStatement"

Anonymous    Mar 01, 2000
Printed
Page 66
The font for:

"ResultSetMetaData"

in paragraph 5, line 4 was corrected.

Anonymous    Mar 01, 2000
Printed
Page 75
Code line 17 used to read:

"long"

It now reads:

"longer"

Anonymous    Mar 01, 2000
Printed
Page 76-77
on what used to be lines -7 and -10 of code, removed "+

junk". Then changed line 7 of code to read:

String str;

and added these lines right after it:

if ( value == null ) {
str = "";
}
else {
str = value.toString();
}

This makes p. 77 start in a different place.

Anonymous    Sep 01, 1997
Printed
Page 93
Code line 13 used to read:

"a locked by object a"

It now reads:

"a locked object by a"

Anonymous    Mar 01, 2000
Printed
Page 135
Line 7 of code used to read:

"import bank.server.ccountSet;"

It now reads:

"import bank.server.AccountSet;"

Anonymous    Mar 01, 2000
Printed
Page 143
The last line used to read:

"athens.imaginnary.-com"

It now reads:

"athens.imaginary.com"

Anonymous    Mar 01, 2000
Printed
Page 159
The text used to read:

"RemotePeersistent"

It now reads: "RemotePersistent"

Anonymous    Mar 01, 2000
Printed
Page 217

The text used to read:

"...boundaries as a remote object"

It now reads:

"...boundaries as a remote object."

Anonymous    Mar 01, 2000
Printed
Page 220
last entry in column 1: "deregisterDriver" is described

on page 190, not 191.

Anonymous   
Printed
Page 225
added the following to the end of the last para.

Whenever possible, our books use RepKover (tm), a durable and
flexible lay-flat binding. If the page count exceeds RepKover's limit,
perfect binding is used.

Anonymous    Sep 01, 1997