- Shopping Bag ( 0 items )
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 ...
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 TateAbout 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.
Hibernate: A Developer's Notebook™
Chapter 1: Installation and Setup
Chapter 2: Introduction to Mapping
Chapter 3: Harnessing Hibernate
Chapter 4: Collections and Associations
Chapter 5: Richer Associations
Chapter 6: Persistent Enumerated Types
Chapter 7: Custom Value Types
Chapter 8: Criteria Queries
Chapter 9: A Look at HQL
Appendix A: Hibernate Types
Appendix B: Standard Criteria
Appendix C: Hibernate SQL Dialects
Posted December 27, 2005
I think if you want some knowledge on Hibernate for so and so talk. It is a good book. I have try to work out the example of the book and find the code can't work. For example, in Chapter 2 it ask me to generate a Java class by Hbm2JavaTask.class. I try to find it half day, it just doesn't come up. I download the source form O'Reilly site, but the code didn't have the library. I think it is a quite good book to get a generate cocept. But if someone want solid experience, may be the hibernate website can help.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted November 9, 2004
I've never used Hibernate before. As I started reading this book I realized that it goes straight into coding and explanations about what to do and what it's happening and one interesting questions that is made across the book: 'Why do I Care ?'. That shows what is important and why should you read about that. With less then 200 pages it's not a bible, but it got everything you need to start using hibernate with good practices, Ant builds , HSQL integrated tests, and it makes you keep coding in a progressive sample through all the chapters. It's a nice kick start.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted July 1, 2004
A very recent open source aid to handling the mapping of Java onto a SQL database. The need is unquestioned, because of the impedance difference between Java's objects and the relational nature of the database. Elliott shows how Hibernate is pitched at java programmers, who may not be as fluent in writing JDBC to SQL. Plus, java code that uses JDBC is usually pretty grotty. Lots of string manipulations to prepare those query statements. The code Elliott gives certainly seems more concise and elegant. The importance of the latter should be appreciated, for more than just aesthetic reaons. It makes code easier to understand and debug. Learning and using Hibernate's classes (and there aren't that many of them, which helps) feels more natural that the string constructions of queries. Another point in the book's favour is that you can quickly read it and starting trying it out. So even if it and Hibernate turn out not be right for you, it is a modest investment of your time.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.