38 of 39 people found the following review helpful:
3.0 out of 5 stars
Way too thin, October 31, 2005
This review is from: Pro Hibernate 3 (Expert's Voice) (Paperback)
The good stuff:
* Clear and consistent.
* Very few errors (spotted just a couple, minor ones).
* Good typography.
* The authors know their stuff, and it shows.
The not so good stuff:
At 242 pages, this book is too thin. No, let me restate it: it is way too thin. I'm not particularly fond of very thick books, but when the subject matter is complex, you simply can't get away with a cursory glance at its intricacies. You see, at 408 pages, I still think that Hibernate in Action, though it is probably the best book on the subject, would be just great if it packed a few more pages.
The problem with Hibernate is that beneath its apparent simplicity lie a large number of difficult problems. Don't get me wrong, I still think Hibernate is the best ORM tool out there. Unfortunately, Object-Relational Mapping is a hard problem. Solving the Object-Relational impedance mismatch in a fully transparent way is probably impossible: all proposed solutions so far are, in the end, yet another abstraction layer. And as we all know, all abstractions leak, one way or the other.
If you are just beginning to approach Hibernate and think that you will get a decent coverage of the complexities, traps and pitfalls of a tool like Hibernate in just 242 pages, you're bound to be disappointed. Here are just a few subjects that I would have liked to see covered much more deeply:
* HQL syntax. The official Hibernate documentation already gives some more complex samples, but their explanation is too concise. A good complement to the docs should probably clarify what you can and what you cannot do in HQL.
* Exotic mappings.
* Tuning and optimization.
* Caching. What are the benefits and drawbacks of the various caching strategies and implementations?
* Lazy loading. It is my experience that novices sooner or later will get the dreaded LazyInitializationException. What techniques can be used to avoid it?
* Cascading rules and their effect on the lifecycle of entities.
* Bulk loading and saving.
* Using versioning to implement optimistic locking.
* Others that I don't remember at the moment.
All in all, I don't think this is a bad book. Quite the contrary. It's just that I think the authors could have dispensed some more of the goodness they are evidently capable of. As it stands, you will at the very minimum need to have a copy of the official Hibernate documentation, plus Hibernate in Action, on your desk, together with Pro Hibernate 3.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
6 of 6 people found the following review helpful:
2.0 out of 5 stars
repetitive, February 18, 2006
This review is from: Pro Hibernate 3 (Expert's Voice) (Paperback)
Like other people have said, this book is pretty short. To make matters worse, it repeats itself a lot and wastes a lot of pages with boring code such as using 3 pages to show a POJO (plain old java object) with nothing but getters and setters. Did they really need to show that? This book is an ok introduction to hibernate, but definately isn't worth the price. A lot of the same information can be found online, and this book doesn't really present the information in a new or useful way.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
3 of 3 people found the following review helpful:
5.0 out of 5 stars
Well-written introduction, January 13, 2006
This review is from: Pro Hibernate 3 (Expert's Voice) (Paperback)
I got this book in order to find out what Hibernate was all about and whether I could use it in my projects. I started with no idea of the framework at all and a couple of questions about its general use.
These questions I had were answered right in the first few chapters when the overall usefulness of Hibernate was discussed. And given the well-written chapters of the book (as a non-native English speaker I had absolutely no problems understanding them) I got a good grasp of the Hibernate basics as well.
I think it's a very good book that's surely worth its price.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No