Hibernate: The Developer's Notebook

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 ...

See more details below
Other sellers (Paperback)
  • All (30) from $1.99   
  • New (10) from $4.35   
  • Used (20) from $1.99   
Sending request ...

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 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.

Read More Show Less

Product Details

  • ISBN-13: 9780596006969
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 5/28/2004
  • Edition number: 1
  • Pages: 192
  • Product dimensions: 7.04 (w) x 9.16 (h) x 0.60 (d)

Meet the Author

a senior software engineer at Berbee, with over ten years professional experience as a systems developer. He started designing with objects well before work environments made it convenient, and has a passion for building high-quality Java tools and frameworks to simplify the tasks of other developers.

Read More Show Less

Table of Contents

Hibernate: A Developer's Notebook™

Preface

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

Colophon

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)
Sort by: Showing all of 3 Customer Reviews
  • Anonymous

    Posted Tue Dec 27 00:00:00 EST 2005

    The code can't work

    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  No   Report this review
  • Anonymous

    Posted Tue Nov 09 00:00:00 EST 2004

    First Steps on Hibernate ? It's for you !!!

    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  No   Report this review
  • Anonymous

    Posted Thu Jul 01 00:00:00 EDT 2004

    easy to try out

    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  No   Report this review
Sort by: Showing all of 3 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)