Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

Do you enjoy writing software, except for the database code? Hibernate:A Developer's Notebook is for you. Database experts may enjoy fiddling with SQL, but you don't have to--the rest of the application is the fun part. And even database experts dread the tedious plumbing and typographical spaghetti needed to put their SQL into a Java program. Hibernate: A Developers Notebook shows you how to use Hibernate to automate persistence: you write natural Java objects and some simple configuration files, and Hibernate automates all the interaction between your objects and the database. You don't even need to know the database is there, and you can change from one database to another simply by changing a few statements in a configuration file. Hibernate: A Developer's Notebook walks you through the ins and outs of using Hibernate, from installation and configuration, to complex associations and composite types. Two chapters explore ways to write sophisticated queries, which you can express either through a pure Java API, or with an SQL-inspired, but object-oriented, query language. Don't let that intimidate you though: one of the biggest surprises in working with Hibernate is that for many of the common real-world application scenarios, you don't need an explicit query at all. If you've needed to add a database backend to your application, don't put it off. It's much more fun than it used to be, and Hibernate: A Developer's Notebook shows you why. Here's what a few reviewers had to say: "I'm sitting on an airplane after finishing Hibernate: A Developer's Notebook. It's rare to find a book on a new Java technology that you can get through on a domestic flight. That this notebook effectively and succinctly tackles object-relational mapping makes it, and Hibernate, even more impressive. Many books in this category would need to be checked luggage. With this book, you travel first class." --Mike Clark "A simple persistence framework deserves a simple book, and this one delivers. The examples are well described and easy to understand, yet sophisticated enough to demonstrate Hibernate in a real-world context. Jim, I'm a new fan." --Bruce Tate About the new Developer's Notebook Series from O'Reilly: Developer's Notebooks are a new book series covering important new tools for software developers. Developer's Notebooks stress example over explanation and practice over theory. They are about learning by doing; by experimenting with tools and discovering what works. "All lab, no lecture," with a thoughtful lab partner to guide the way.

Subscriber Reviews

Average Rating: 4 out of 5 rating Based on 1 Rating

"A good fast introduction to Hibernate" - by Christopher on 02-MAR-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Assuming you understand the idea behind O/R mapping, that you've worked with Ant, and are comfortable with Java, then this book is a great way to dive into Hibernate quickly.  It is a bit dated, dealing with Hibernate before Java 1.5 came out, but what it discusses still applies and so makes an effective introduction to the basics.

It is not a deep tutorial that gently brings you along.  It really is a way to "get in there fast".  I found that that was exactly what I needed.  By getting a deep, quick and practical introduction to the heart of Hibernate, I was ready to start using it in no time.

After going through this, I now understand the kinds of things I can do with Hibernate and how to do them.  I can now look to the Hibernate docs with understanding (they were confusing before).  I can even look at a deeper book with more appreciation.  

The main thing, though, is that after this I was able to use it in minimal time.  It is a quick read and worth the time.  There should be a 2nd edition updated to today's Hibernate!

Report as Inappropriate

Table of Contents

 Index

Extras

The publisher has provided additional content related to this title.


Description
Content

Visit the catalog page for Hibernate: A Developer's Notebook

  • Catalog Page

Visit the errata page for Hibernate: A Developer's Notebook

  • Errata

Download the supplemental electronic content for Hibernate: A Developer's Notebook

  • Supplemental Content