BUY THIS BOOK
Add to Cart

Print Book $24.95


Add to Cart

Print+PDF $32.44

Add to Cart

PDF $19.99

Safari Books Online

What is this?

Add to UK Cart

Print Book £17.50

What is this?

Looking to Reprint or License this content?

Hibernate: A Developer's Notebook

By James Elliott
May 2004
Pages: 190
Series: Developer's Notebooks
ISBN 10: 0-596-00696-9 | ISBN 13: 9780596006969
starstarstarstarstar (Average of 12 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Book description

Hibernate: A Developer's 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. 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.
Full Description

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.

Browse within this book

Cover | Table of Contents | Colophon




Featured customer reviews

Write a Review


Suffers from Verbosity,  October 28 2006
Rating: StarStarStarStarStar
Submitted by chetan   [Respond | View]

What I dont like about this book is its layout.

I think it should have designed so that you can skim through it easily without being forced to read everything.

It suffers a little from Verbosity. The Side Notes are not helpful at all.

It takes too much time to read this book.

Content and Explanation are OK.




needs an update,  August 31 2006
Rating: StarStarStarStarStar
Submitted by Anonymous Reader   [Respond | View]

@All
could you please help me on how to set things up using hibernate 3 and hsqldb 1.8? And I can't even find a version of HSQLDB 1.7.3.1 for download...:(


Dated, but the best available at this time,  May 10 2006
Rating: StarStarStarStarStar
Submitted by tucsonalama   [Respond | View]

A good read, but I am forced into double checking everything since I am using the latest Hibernate and HSQLDB. It is dated, but not completely outdated, and still offers the best jump start to hibernate that is out there right now that, at least that I know of. Please update and I will buy several copies for my team!

Read all reviews


needs an update,  April 17 2006
Rating: StarStarStarStarStar
Submitted by Anonymous Reader   [Respond | View]

I am a beginner.I found the same problem as you did. Can you tell how to make it work correctly with Hibernate 3 and Hsqldb 1.8 in detail?
Thank you.


needs an update,  January 04 2006
Rating: StarStarStarStarStar
Submitted by J.T. Wenting   [Respond | View]

Overall a good book but dated. The code (and especially the Ant buildfile and Hibernate configuration) needs quite a bit of work to work correctly with Hibernate 3 and Hsqldb 1.8.


Took me a while to figure out why none of the changes made to the database were persisted for example, until I read that Hsqldb now no longer persists anything to disc unless an explicit shutdown command is issued when used in embedded mode.


With a bit of puzzling and experimentation it can all be made to work but you will run into the occasional snag using the current book with up to date versions of the tools used in it.





Get the basics of Hibernate,  September 18 2005
Rating: StarStarStarStarStar
Submitted by Anonymous Reader   [Respond | View]

The right book to kick start learning hibernate & get the basics of hibernate right with little time & effort


Hibernate is a great tool, not too sure about the book!,  June 21 2005
Rating: StarStarStarStarStar
Submitted by syed ghaz   [Respond | View]

Hibernate is a great Object / Relational Mapping Framework, however this book only touches limited numbers of things in Hibernate.
I am specifically talking about, Object oriented design examples, non of the examples / samples discussed in the book have any object orientation like subclasses or Interfaces. This is a very huge promise of Hibernate, i.e. it preserves the Object oriented design of users domain objects.
Would have been useful, if this book would discuss even a little about it.

Thanks
Syed


Value for Money,  August 17 2004
Rating: StarStarStarStarStar
Submitted by Satish Talim   [Respond | View]

This is a great book that gave me all the knowledge and tools to start using Hibernate in a real application.


The BEST 1st book on Hibernate,  July 01 2004
Rating: StarStarStarStarStar
Submitted by Vinny Carpenter   [Respond | View]

Hibernate: A Developer's Notebook is the first in the new Developer's Notebook series from O'Reilly. The Developer's Notebook series is a new line of books from O'Reilly that are concise, lab-style guides that have plenty of examples and emphasize practice over theory. For being the first one, O'Reilly has hit a home run with this book.

Written by James Elliott, Hibernate: A Developer's Notebook is an excellent must-own book for anyone interesting in learning more about Hibernate. James does a great job in explaining the topic at hand in a clear and concise manner. All the concepts are explained via examples, which make it easy to follow and learn.

Staring with installation and the setup of your development environment, the book walks you through examples where you build on a small application as you progress through the book learning the subtleties and nuances of Hibernate. This book is extremely readable and is small enough to read cover to cover in a day. My pattern for reading technical books involves reading (or skimming) the book cover to cover before doing a deep dive and working through all the code examples. I found the examples easy to follow and they did a great job in building on the concepts of Hibernate.

I had read a couple of articles on Hibernate and had played with some simple examples but this book gave me all the knowledge and tools to start using Hibernate in a real application. This is a really well written, concise guide to Hibernate and well worth the purchase price. I highly recommend this book to anyone wanting to learn more about Hibernate and is a great first Hibernate book.

--Vinny
http://www.j2eegeek.com/blog/


Missing inheritance,  June 30 2004
Rating: StarStarStarStarStar
Submitted by Anonymous Reader   [Respond | View]

It's just a pity there is no chapter about inheritance as supplied within Hibernate using the subclass tag!


This is a great book,  June 16 2004
Submitted by Anonymous Reader   [Respond | View]

On a side note, I would love to see a book on Spring come out.


This is a great book,  June 16 2004
Rating: StarStarStarStarStar
Submitted by tcg   [Respond | View]

This is a great book with lots of helpful tips. Don't let the thin size fool you. It's more valueable than many thick volume books.


1 night with this book could save you hundreds of hours later.,  June 08 2004
Rating: StarStarStarStarStar
Submitted by Mark   [Respond | View]

After 1 night of working through the examples, I was able to apply the basic lessons into a simple application I was building. I felt that this book was worth a LOT more than the price I paid, because now I have a very powerful tool at my disposal that I feel I have a good understanding and grip of.



Hibernate is an awesome piece of technology. It's especially useful if you find that you are spending 90% of your time writing code that puts data into the database or getting it out. Doing web application, I have come to this conclusion head on.



If your tired of JDBC, this book is for you!



So many project I have worked on where we could of rolled out to market MUCH faster and with less bugs if we had access to such tools, I definately won't disregard this tool in future projects.



I will also add, James has a very organized mind and it shows in the way he presents his material. He has very thurough and gets to the point of what you need to know. I definately will keep an eye out for future books by this author.




Media reviews
"This is a great introduction to using Hibernate. It gives an excellent overview of different aspects of O/R mapping using Hibernate. Setting up and following along with the examples was very easy and very informative. I would definitely recommend it to anyone interested in learning Hibernate."
-- Dave Fecak, Philadelphia Area Java Users' Group

"...this is the first 'Developer's Notebook' I have read from O'Reilly and I found it to be an excellent walk-through on Hibernate. This book is actually a text that you can read cover to cover comfortably while in front of the computer going through and developing their toy application. This style of book makes it really easy for anyone to pick up Hibernate over a few days, which is really nice as opposed to having to dig around the Web and IRC looking for advice on how stuff works. It even covers how to use ant, a tool similar to make, minus all the problems of make for Java, to get started on your hibernate applications...this book is an excellent read for anyone that want to get a quick handle on Hibernate in a few days."
--Chris Jordan, Dalhousie Student Chapter ACM, July 2005

"This book is all you need to know about modeling objects to relational databases. I bought this book prior to knowing Hibernate (I knew of course JDBC, but never developed on top of Object relationship project), and I built my current site using Hibernate with almost no need to get help on outside resources. I would not hesitate to buy this book even if you are not going to use Hibernate immediately, since it is a great book for software developers in general."
--D. Orbach, Amazon.com Review, June 2005

"This book will walk you through exactly what you need and what you need to know to start using Hibernate.  Furthermore, the tone and style of the book makes it very easy to follow along.  One thing I appreciated in this book is that there is a single application sample used throughout the book, so you don't have a disconnected set of code snippets that don't make sense outside of the context of the chapter... If you're doing any coding to bridge relational and object oriented data, Hibernate will be an important technology for you.  And to get off the ground with it, you won't do much better than the Hibernate specs and the Hibernate Developer's Notebook."
--Thomas "Duffbert" Duff, Duffbert's Random Musings, August 2004

Read all reviews

See larger cover