Rating: - Should Be Called Beginning of your Hibernate Frustration
This book takes a simple concept and makes it hard to learn.
For a beginning Hibernate book, you want some examples that are easy and straight forward, not needlessly complex and overcomplicated. Plus, the book doesn't know what it wants to be, jumping from mapping files to annotations to whatever.
This is not the first time I've been disappointed with this publisher. I'm just not happy with these yellow and black books.
Rating: - Good if you dont have internet to look for Hibernate Reference
I bought this book before Java Persistence with Hibernate ( the newer Version of Hibernate in Action ) and to be quite honest was put off by its style of organizing things. It is recommended only if you cannot somehow refer to Hibernate's reference Manual. Somehow i personally found that examples weren't just enough to do the kind of justice you'd like from a book that will make you a " professional ".
I agree with the other comment made about association mapping explaination too. In my opinion if you want a gentle introduction to Hibernate, take Hibernate in Action ( Don't buy New Version called Java Persistence with Hibernate, if you want to learn Hibernate real quick ). After you gotten through initial hurdles use Java Persistence with Hibernate, its the best book that is out there and will explain things in a Much Much better way believe me.
This is from a Person who is actually working in a Hibernate Project.
Regards
Vyas, Anirudh
Rating: - How Awful Can A Book really Be? An Awful Book for Learning
I just can't tell you how frustrated I am at trying to learn Hibernate with this useless book.
I mean, I'm a patient guy, and I know technology well, but trying to learn from this book is brutal.
The examples are all over the place. In chapter 6, you get into annotations, and they've got this huge example with all these tables and garbage. All i want to know is how to do a simple one-to-many mapping between two tables - that's it! But instead, I get five classes with many to one, one to many, many to many, and all this other stuff that obfuscates the point so much, it's not even worth it.
And what's more, they deal with all this code and table references, but there's no ERD diagram to be found. I mean, where is it? I'm jumping from code to annotations to create SQL scripts - I want a simple ERD diagram to show me what's connecting where.
And this book makes no effort to explain. I loved this sentence "The mappedBy attribute is mandatory." Ok, could you maybe tell me what it means, what it does, or what it represents? Is that too much to ask.
Plus, simple stuff is just missing. A simple one-to-one relationship with xml is never demonstrated - just a pathetic description of the xml entry that doesn't describe at all how to do a mapping.
Plus, the book shoots page after page of definitions that look like it was pulled directy from the documentation, but no examples of how to use them in your code - just filler.
I really hate this book. The authors may know Hibernate, but they know nothing about teaching or helping someone understand a technology. I'm shoving this book in the garbage.
Rating: - Great Intro to Hibernate
I bought this book after having a bad experience with another Hibernate book and was very pleased. Chapter 3 does a great job walking you through creating a simple app with Hibernate and then extends it to a slightly more complex example. It also explained a lot of the "tricky" bits along the way that help you avoid common traps. Even better, it contained a lot of really useful reference material once you understand the basics. Great book!
Rating: - Stay far from these guys
It looks like an overall a gentle and easy to read and digest, example driven intro to the Hibernate APIs but has some major flaws like introducing a DAO pattern in the very first example. This useful practice in this case just obscures and hides the APIs to the beginner. Also, the section on XML mapping is absolutely unreadable, being just a rumination on the DTD. I would have loved to see a "fatter" book with many more examples, especially with mapping relationships , transactions and caching. One pleasant surprise was a good discussion of locking. In conclusion this book is not "meaty" enough to grow your Hibernate muscles, so even if you don't feel ready to wrestle with the way heavyweight Manning book "Java persistence with Hibernate"... I would still take a brave step and start there as this book will just be a waste of time. Unfortunately , as of today, no decent gentle introduction exists for Hibernate. My general advice is STAY FAR from this book's authors.. they are constantly and stubbornly producing horrible books about subjects they don't know enough about, and promise to be doing that for quite some time...
|