Not knowing anything about hibernate when I bought this book, I had no idea that the xml file configuration methods explained here have now been outdated in favour of using inline Annotations.
Most of the concepts introduced are still fine, but if you want to learn the coding as well as the concepts, look for a more modern book.