Harnessing Hibernate is an ideal introduction to the popular framework that lets Java developers work with information from a relational database easily and efficiently. Databases are a very different world than Java objects, and they often involve people with different skills and specializations. With Hibernate, bridging these two worlds is significantly easier, and with this book, you can get up to speed with Hibernate quickly. Rather than present you with another reference, Harnessing Hibernate lets you explore the system, from download and configuration through a series of projects that demonstrate how to accomplish a variety of practical goals. The new edition of this concise guide walks you through Hibernate's primary features, which include mapping from Java classes to database tables, and from Java data types to SQL data types. You will also learn about Hibernate's data query and retrieval facilities, and much more. By reading and following along with the examples, you can get your own Hibernate environment set up quickly and start using it for real-world tasks right away. Harnessing Hibernate teaches you how to: Perform Object/Relational mapping Work with persistent data from Java code Work with groups and relationships between objects Extend Hibernate's rich type support for your own needs Simplify query creation using criteria and examples Use the Hibernate Query Language (HQL) and understand how it differs from SQL Use Hibernate in conjunction with Spring Use Hibernate in conjunction with other packages, such as the Stripes web framework and the Eclipse IDE
Once you're past the first few chapters, you can jump to topics that you find particularly interesting or relevant.All background material and explanations of how Hibernate works and why is in the service of a focused task. Source code can be downloaded from the book's website. If using SQL is an uncomfortable chore, Harnessing Hibernate offers you an effective and trouble-free method for working with the information you store in your applications.
Customer Reviews:
Avg. Customer Rating: 4.5 / 5.0
Get This Book:
Buy this book if you are interested in Hibernate. I didn't know Hibernate, but within 3 weeks of buying this book I was fully productive with Hibernate. This book is well written, organized and easy to learn from. Also has a nice chapther on Mavan
Great book so far:
I'm half way and very pleasantly surprised. I like to type stuff in manually to get it to 'stick' and I plainly can't believe that I haven't found one error in the code listings!!! I'm a pro developer, so I don't usually bicker too much about this, but it surely is a time saver when the examples are correct. That said, the author combines a lot of the code so that it probably loses cohesion, but I'm 100% sure that this is in fact by design. For pedantic purposes it's easier -- I'm happy, about this, because... more info
Only really an Introduction:
I am totally new to hibernate, and I was hoping for a book that would serve as a comprehensive guide to hibernate. I was rather disappointed. The book constantly says: you can do this really neato thing, but it's beyond the scope of this book. The chapter on HQL was very brief indeed really only scratching the surface, which was a bit surprising as it would seem to me that using HQL would be a very common task which would benefit from in depth coverage. The chapter on annotations was also a bit light as... more info
Beginner's Hibernate:
Nice step-by-step guide for building a web application that makes use of Hibernate. This fills in an important gap left by the official Hibernate documentation. However, a consequence of this approach is that much of the book ends up being devoted to explaining how to set up the chosen tools and frameworks (see table of contents). If you are instead looking for more in-depth information on topics such as session and object lifecycles, complicated mappings or performance, you'll find more information in the... more info