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 (39) from $1.99   
  • New (11) from $4.36   
  • Used (28) 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)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 3 Customer Reviews
  • Anonymous

    Posted December 27, 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 November 9, 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 July 1, 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)