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 "Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
| Version |
Location |
Description |
Submitted By |
Corrected |
| Safari Books Online |
Safari HTML
Chapter 5. Richer Associations |
The "Figure 5-1. Models of the tables, concepts, and objects involved in representing album tracks" repeats the label ALBUM_TRACKS twice in the "Database Schema" section. ALBUM_TRACKS once above the schema for the table which stores the collection and a second time over the tracks table. The second time I believe it should have been just TRACKS.
Not really an error, but "Example 5-1. Eagerly initializing the track artist associations" changes the key column name from TRACK_ID to TRACK for the TRACK_ARTISTS set. Earlier in the text it appears as TRACK_ID, but this is just a snippet and not a restatement of the Track class xml mapping.
Note from the Author or Editor: Yes, sadly, the right-hand table should be labeled TRACK rather than ALBUM_TRACKS. That is how it was labeled in the version I checked in, but it got changed in production. Why does this figure get semantically mangled before press every time? I find it very frustrating!
|
Anonymous |
|
| PDF |
Page Section 13.2.5
Third paragraph |
When discussing how Hibernate integrates with Spring.
Sentence: "The Stripes API provides a simple way to tolerate such implementation-specific exceptions by wrapping them in its own generalized data access exceptions."
Should be: "The Spring API..."
I'm reading the PDF version online at Safari so I don't have a page number.
|
Scott Jones |
|
| Safari Books Online |
5.1
On Figure 5.1 of section 5.3 (No page number available online) |
Right hand Entity ALBUM_TRACKS should read "TRACK"
Note from the Author or Editor: Yes it should. That's the way the figure was when I submitted it, but it got messed up somehow on the way to press, sadly.
|
Anonymous |
|
| Printed |
Page 15
bottom |
The zip file containing the examples on your website at http://examples.oreilly.com/9780596517724/ seems to be corrupted. I am running Windows Vista and am unable to unzip the file. It appears that for every directory within the zip there is a peer file of the same name which causes unzip to choke since i don't think you're allowed to have two peer filesystem elements with the same name in a zip archive. I was also unable to unzip using command line jar utility. Please let me know of a workaround. Thanks, Jon
Note from the Author or Editor: I don't have access to Vista, but I tried looking at this archive under Windows XP in a virtual machine, and do see those strange parallel files this reader mentioned. Despite them, I was able to extract the file contents using XP's zip support. Vista must be pickier?
The do not show up under MacOS or Linux, and do not cause a problem when you use jar to extract the zip file's contents, but we should fix the archive on the download site so that people can use their familiar unzipping tools on Vista.
I don't know who created the archive or who can update it. I was able to rezip the archive on my XP virtual machine, and that repackaged version does not seem to contain the problematic parallel documents. There does not seem to be a way to attach files to this errata mechanism, so please let me know how to get in touch with the people maintaining the download site to see how I can help get this corrected.
|
Anonymous |
|
| Printed |
Page 21
Last paragraph |
In the last paragraph on page 21, the URL for the Maven 2 repository is correctly identified as http://repo1.maven.org/maven2/. However, in the example URLs (Example 1-3. URLs for project dependencies) located at the bottom of page 21, the URLs for the Maven 2 repository omit the maven2 portion of the URL and are identified incorrectly as http://repo1.maven.org/org/hibernate/<rest of path> and http://repo1.maven.org/hsqldb/hsqldb/<rest of path>
Note from the Author or Editor: I was hoping Tim would weigh in on this, as our Maven maven, but as far as I can tell, the reader is completely correct; the two URLs on the bottom of page 21 need "maven2/" inserted immediately following "http://repo1.maven.org/". So they become:
http://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.jar
http://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar
|
Anonymous |
|
| Printed |
Page 96
5th paragraph |
(96): language change or minor formatting problem
Reads "This mapping achieves the goals with which we started 'with' illustrates...."
should be 'which illustrates'
Note from the Author or Editor: This is completely correct; a comma might be nice too:
This mapping achieves the goals with which we started, which illustrates how arbitrary information can be attached to a collection of associations.
|
Anonymous |
|
| Printed |
Page 100
2nd paragraph |
ALBUM_TRACK schema is referenced several times in this paragraph. I think it should be ALBUM_TRACKS with the 'S' at the end as that's consistent with the actual table name.
Note from the Author or Editor: This is correct. All three mentions of the ALBUM_TRACK schema in this paragraph should be ALBUM_TRACKS instead; although the class name AlbumTrack is singular, the table name is ALBUM_TRACKS, plural.
|
Anonymous |
|
| PDF |
Page 148
import statement |
SourceMedia and StereoVolume class is not in the same package. Thus should include
import com.oreilly.hh.SourceMedia;
import com.oreilly.hh.StereoVolume;
Note from the Author or Editor: The problem is actually in the listings of the SourceMedia (p. 113) and StereoVolume (p. 127) classes. We moved these into the package com.oreilly.hh.data towards the end of the writing process, and evidently these listings did not get updated. The downloadable code examples are consistent, but this will definitely confuse readers. The package statements in these classes need to be updated to include the ".data" portion.
|
Anonymous |
|