Errata
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
| Version | Location | Description | Submitted By |
|---|---|---|---|
| Safari Books Online | unknown Code sample |
Example 13-3. Implementing the ArtistDAO interface. |
Anonymous |
| Safari Books Online | 2 whole chapter |
The build.xml file for chapter 2 won't work, even when I download the examples and run directly from the examples folder. |
Todd O'Bryan |
| Safari Books Online | 4.1.1 example 4-1 |
in example class points to com.oreilly.hh.data.Track |
Anonymous |
| Page 5 Example 3-3 |
In Chapter 3 (Harnessing Hibernate) page 5 of my PDF copy: |
Anonymous | |
| Printed | Page 47 Example 3-3 |
Line 6 of CreateTest.java has the following import statement: |
Anonymous |
| Printed | Page 56 56 |
When I try to run QueryTest.java, I get the following error and read fails. Am I missing something here? |
Anonymous |
| Printed | Page 64 section 4.1.1, example 4-1 |
in example class points to com.oreilly.hh.data.Track |
Anonymous |
| Printed | Page 75 example 4-9 |
Going through the example in Chapter 4, the Track.hbm.xml defines <property name="playTime" type="time"> |
Anonymous |
| Printed | Page 85 4th non-code paragraph |
On page 85, 4th non-code paragraph: "Rebuilding the databases with 'ant schema' shows how this gets built in the database." does not work. |
George Girton |
| Printed | Page 88 Example 5-1 |
"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. |
Anonymous |
| Printed | Page 92 Example 5-4 |
class name reads: name="com.oreilly.hh.data.Album" |
Anonymous |
| Printed | Page 95 On Figure 5-1 of section 5.3 |
Right hand Entity ALBUM_TRACKS should read "TRACK" |
Anonymous |
| Printed | Page 106 Example 5-13 |
5-13 shows (in bold) the changes we'd make to the tracks property mapping in Album.hbm.xml. |
Anonymous |
| Printed | Page 148 middle of Example 7-6 |
It looks to me as if the join columns are switched in the annotations examples in Ch 7, 12. The populated TRACK_ARTISTS table seems to have values for TRACK_ID and ARTIST_ID swapped. The xml mapping example in Ch 4 works OK. |
Anonymous |
| Printed | Page 148 middle of page |
This error has already been reported but has not been shifted to the confirmed errata: swap of ARTIST_ID & TRACK_ID in JoinTable. This error goes down into the code that can be downloaded. This should be confirmed so readers can save time debugging themselves (and not reading unconfirmed errata). |
Anonymous |
| Printed | Page 201 java.lang.UnsupportedClassVersionError: Bad version number in .class file |
This exception occurs in Chapter 10, after trying to run ant schema, which depends on target codegen. The error occurs in target codegen. |
Irritant |
| Printed | Page 211 Figure 11-3 |
These instructions won't work for Eclipse 3.4.2. You need to go to http://www.jboss.org/community/docs/DOC-10044 and follow the instructions in the Installing JBoss Tools from the Update Site section. |
kxen |
| Printed | Page 282 diagram |
artistDAO should be connected to createTest and albumTest on the left; |
Anonymous |
| Printed | Page 282 diagram |
artistDAO should be connected to createTest and albumTest on the left; |
Anonymous |
