Errata

Java Data Objects

Errata for Java Data Objects

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 xviii
1st paragrahp

Third sentenace down;
Chapters 3 through 6
should be
Chapters 4 through 6

Anonymous    Sep 20, 2013
Printed
Page 25
middle

The text reads :

"Upon return from the Role constructor, load() processes the next entry in the file.
It should say:
"Upon return from the Role constructor, execute() processes the next entry in the file.

Anonymous    Sep 20, 2013
Printed
Page 61
2nd paragraph, second line up from the bottom.

...roles they have played in a movie.
Should be:
...roles they have played in movies.

Anonymous    Sep 20, 2013
Printed
Page 63
3rd line

<class name="Game" />
should be:
<class name="Game"
persistence-capable-superclass="MediaContent">
</class>

Anonymous    Sep 20, 2013
Printed
Page 123
In code

3 places on the page
//place application's access of database here.
should be
//place application's access of datastore here.

Anonymous    Sep 20, 2013
Printed
Page 136
2nd paragraph, 6th line

The word "established" appears twice in succession.

Anonymous    Sep 20, 2013
Printed
Page 158
3/4 down the page, the bullet labeled two.

The bullet labled two in never talked about.

Anonymous   
Printed
Page 171
end of code fragment

The query is never closed: query.close(result) should be place after the while loop.

Anonymous    Sep 20, 2013
Printed
Page 179
last paragraph, third line up.

...need to know that application...
Should be:
...need to know what application...

Anonymous    Sep 20, 2013
Printed
Page 181
5th bullet down

...String constructor that returns ...
Should be:
...String constructor that creates ...

Anonymous    Sep 20, 2013
Printed
Page 183
1st paragragh

Missing bullet 6, should be next to, Having the single code field...

Page 188, method at top of page...

It should be
public Id(String orderNum) {
orderNumber = 0;
try {
orderNumber = Integer.parseInt(orderNum);
} catch(NumberFormatException) {}
}

The assignment to orderNumber is missing
after calling Integer.parseInt.

Anonymous    Sep 20, 2013