Hi there,
just found some more little errors in your "Hibernate in Action" book:
page 39 states "Hibernate provides some shortcut methods on the Session interface that let you invoke a query in one line of code. We won't use these shortcuts in the book; instead, we'll always use the Query interface".
Since every rule has its exception you should add a note saying that the exception here is your HelloWorld application ;-)
page 227, code-snippet in the middle of the page:
"item.getCategories().add(category)" should be changed in "item.getCategories().add(cat)"
Thanks for the great book. As soon as I find some time I will add a review on Amazon.
Bye,
Dirk
|