<pre>Author/s : Dave Minter, Leff Linwood Publisher : Apress Category :Data modeling, SQL and JDBC Review by : Gregg Bolinger Rating : 9 horseshoes</pre> I have several Apress "Pro Series" books and have yet to be disappointed. Pro Hibernate 3 is no exception. Dave Minter and Jeff Linwood do a superb job of getting the reader comfortable with the open source Object Relational Mapping tool, Hibernate.
Starting off with a simple example, the authors show you everything you need to create your first Hibernate application. From there you are shown more complex mappings, how to use the Session object, DAO pattern, Criteria API, well, you can read the TOC.
The book is very well written, clear, concise, and easy to read. The book is full of code and mapping examples that all work (yes, I tested them) with the exception of chapter 10 which points you to a download of the source. I have one complaint and that is between chapters 2 and 3 I felt I was flipping pages back and forth between the two chapters in order to get all the source code I needed for the example. Note also that the book lists required libraries for running Hibernate applications but seemed to miss one, asm.jar. So make sure you have that in your classpath if you are using the latest stable release of Hibernate.
If you are new to Hibernate or maybe you've used it minimally in the past, you'll find this book very informative and useful not only as a learning tool, but as a reference when you run into snags throughout the development of your applications.
<pre>Review by : Valentin Crettaz Rating : 8 horseshoes</pre> The task of mapping objects to tables in a relational database (O/RM) has been the focus of many research projects as the O/RM problem domain is a very complex area that has long been short of efficient solutions. A host of vendors and open-source communities have tackled the O/RM problem and have come up with solutions, such as EJB, Toplink and JDO, which were either considered successful or inefficient depending on a wide range of subjective and objective point of views.
To the rescue comes the third release of the famous Hibernate framework, which is said to provide today's most elegant O/RM solution. I take as a proof the fact that the upcoming EJB 3.0 specification is heavily based on the design concepts underlying the Hibernate framework. The first part of this book focuses on presenting the basics of Hibernate 3 while the second part provides more detailed content that shows how to create mapping files, to query objects using HQL, SQL and the Criteria API, to use events, interceptors and filters, to manage sessions, etc. Minter and Linwood also explain how to fit Hibernate into an existing environment and how to upgrade from previous Hibernate releases.
In summary, intermediate and advanced Java developers who have good working knowledge of database management and who are in need of a powerful and cutting-edge O/RM solution will be very well served with this comprehensive, yet somewhat slim, APress reference.
<pre> Review by : Mark Spritzler Rating : 8 horseshoes </pre> <review> So you are starting off with Hibernate and you want a book to learn from. If you want the basics and get up an running pretty quickly, then this book works well for you. If you intend to do some complex stuff that is using more underneath tools of Hibernate, then this book might be too surface for you.
I enjoyed the book and recommend it as a beginner's book just starting off. I think the examples and writing style make it an easy to read and understand book. But I also think it stays to high level with Hibernate. Hibernate has an interesting learning curve. The basic simple mappings are easy, but once you get more relational and complex, then the learning curve steepens. I would have liked to have seen this book delve into the more "gotchas" that everyone learning Hibernate always fall into, but it doesn't. </review>