Java objects and relational databases weren't born for each other, but you've got to make them work together -- preferably without the hassle of traditional EJBs. The solution is Hibernate. To get started with Hibernate fast, the solution is Beginning Hibernate 3. Right up front, you'll learn why Hibernate-based object-relational mapping may be the best solution for most database persistence problems (though not all). You'll configure your environment, understand the persistence lifecycle, and learn all you need to know about mapping. Then, in this book's final three chapters, you'll turn to searches and queries, from the basics to advanced criteria-based queries and filtering.
There's just enough theory here, but no more than necessary -- and the book spends no time on irrelevant technologies. That leaves more time for useful examples -- of which you'll find plenty. Bill Camarda, from the October 2006 Read Only