Only 1 left in stock.
Ships from and sold by Gift-wrap available.
Professional Hibernate has been added to your Cart
+ CDN$ 6.49 shipping
Used: Good | Details
Sold by bwbuk_ltd
Condition: Used: Good
Comment: Ships from the UK. Former Library book. Shows some signs of wear, and may have some markings on the inside. 100% Money Back Guarantee. Your purchase also supports literacy charities.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Professional Hibernate Paperback – Oct 8 2004

See all 3 formats and editions Hide other formats and editions
Amazon Price
New from Used from
"Please retry"
CDN$ 51.88
CDN$ 21.44 CDN$ 3.25

Harry Potter and the Cursed Child
click to open popover

Special Offers and Product Promotions

  • You'll save an extra 5% on Books purchased from, now through July 29th. No code necessary, discount applied at checkout. Here's how (restrictions apply)

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Product Details

  • Paperback: 456 pages
  • Publisher: Wrox; 1 edition (Oct. 8 2004)
  • Language: English
  • ISBN-10: 0764576771
  • ISBN-13: 978-0764576775
  • Product Dimensions: 19 x 2.5 x 23.5 cm
  • Shipping Weight: 680 g
  • Average Customer Review: Be the first to review this item
  • Amazon Bestsellers Rank: #2,965,112 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

  • See Complete Table of Contents

Product Description

From the Back Cover

Hibernate is an object/relational mapping (ORM) tool that also provides data querying and retrieval functions in a Java environment. Whether you are using simple objects or collections, Hibernate reduces your development time by handling most of the common data persistence tasks. This code-intensive text will take you through Hibernate’s major components and show you exactly how to use it to enhance your current development practices and toolsets.

You will learn how to install Hibernate, build the development environment, and configure Hibernate for a variety of databases, including DB2®, HypersonicSQL, MySQL®, Oracle®, and PostgreSQL. Then you’ll learn the details of connecting to databases using Hibernate, creating persistent classes and objects, working with SQL and HQL (the Hibernate Query Language), and managing transactions. Finally, you will take that basic knowledge into your real-world applications, learning to use Hibernate with other tools such as Eclipse, Tomcat, Maven, Struts, and Xdoclet.

What you will learn from this book

  • How Hibernate maps objects to a relational database
  • How to build a development environment for using Hibernate in a standalone context or in coordination with Tomcat
  • Methods of creating persistent objects
  • Query techniques using both traditional SQL and Hibernate Query Language
  • The DAO design pattern and how to use DAO with Hibernate
  • The application of Hibernate within a Maven project management system
  • How to incorporate Aspect J and Hibernate for complete control
  • How to use advanced caching techniques to improve Hibernate’s performance
  • How to use XDoclet with Hibernate to reduce your development time
  • The procedure for using Velocity and Struts with Hibernate

Who this book is for

This book is for professional Java developers who already know how to build sophisticated applications and have at least a general familiarity with databases, Java application development, and Web development. No prior experience with Hibernate is required.

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

About the Author

Eric Pugh is a member of the Maven development team and an experienced Java enterprise developer specializing in database application design and development, and open source tool integration. He has contributed Hibernate-related code to many projects, including XDoclet and OSWorkflow, and is currently leading development of the Hibernate plugin for Maven. Eric has built several Hibernate applications for clients (including a Web-based lab automation application) and regularly uses Hibernate with Eclipse and Maven. In addition to writing documentation and specifications, Eric has written for OnJava.

Joseph D. Gradecki is a software engineer at Comprehensive Software Solutions, where he works on their SABIL product, an enterprise-level securities processing system. He has built numerous dynamic, enterprise application using Java, Hibernate, MySQL, XML, AspectJ, servlets, JSPs, Resin, BroadVision, and other technologies. He is the author of Mastering JXTA and the co-author of MySQL and Java Developers Guide and Professional Java Tools for Extreme Programming. Joe holds Bachelors and Masters degrees in Computer Science and is currently pursuing a Ph.D.

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on (beta) HASH(0xa5aa945c) out of 5 stars 20 reviews
34 of 34 people found the following review helpful
HASH(0xa57d3ac8) out of 5 stars Unprofessional Hibernate Jan. 28 2005
By Daniel Kirkdorffer - Published on
Format: Paperback
I'd actually give this book 0 stars if I could.

I have never purchased such a bad technical book in 16 years of spending my money on these things. This book is full of coding errors, explanation errors, and typographical errors. The authors fail to point out very important information needed to get their examples working. The downloadable examples are organized in folders for the wrong chapters. The examples don't work when applied to configurations described in the text. The litany of problems goes on and on.

The fact the book mentions no technical reviewers should have tipped me off.

The supporting Web page at Wrox has no errata entries, even though the book has hundreds of mistakes. The forum on the book is dead. If you want to post errata you have to register, and then when you do it rejects your login. Perhaps that accounts for no errata.

I'd say the authors have no interest in maintaining such a list themselves, or else have moved on to other hobbies. As a Java developer I'd strongly recommend anyone contemplating this book moves on and buys another book instead. I'd recommend the book by Will Iverson ("Hibernate : A J2EE Developer's Guide") or "Hibernate in Action" by Christian Bauer, Gavin King instead.

The only positive thing I could say for the book is that it will force you do a lot of hunting down of answers to help you get through all the problems that working through their examples will give you. Having to fix a problem is often the best way to understand the details of a tool, API, or issue. But as a way of learning a technology I'd not recommend it. Most developers have enough of such frustrations in their day to day job to deal with already.
17 of 17 people found the following review helpful
HASH(0xa57ce3fc) out of 5 stars Terrible ! Do the authors know JAVA ? Dec 13 2004
By Sathyanarayanan Sekar - Published on
Format: Paperback
I fully agree with the other reviewers. Unfortunately, I bought the book before I checked the comments out here.

This is a book which does appear to be good - lots of code examples and all that. But it all comes to naught when the code is fraught with errors. And such terrible errors that I wonder whether the authors know Java at all.

Here is a code snippet they have used to illustarte binary data being saved in Hibernate:

public class Someclass {


Blob blob;


public void setBlob(bytes[] b) {

this.blob = b;




Now I ask you - is this code ever going to compile ? If binary data setting was so easy, we wouldnt have so many web-sites dealing with how to save Blobs into the database.

There are typos and code errors galore. My advice - stay away from this book !

I hear "Hibernate in Action" is much better and it has been well reviewed by folks at So I should think that that should be a better option.
12 of 12 people found the following review helpful
HASH(0xa57ce174) out of 5 stars Mistakes galore and nothing to offer over the docs Nov. 27 2004
By Andles - Published on
Format: Paperback
There are way too many mistakes in this book - technical and grammatical. When reading this book I was learning nothing more than what I had learned the day before, using the hibernate docs. Tell a lie, I did learn a little about Aspectj, Maven and a whole bunch of other things I had no interest in - about a third of this already skinny book had barely anything to do with Hibernate.

Ask yourself this before buying this book - do you trust the authors, java programmers, that believe a String object is a primitive? That think 'void'declared methods will return an Object? That think you use the syntax 'O' to pass arguments and not (). That believe there is a collection class called 'list' and not List? That think that ......... well, you get my point. Most of the code in this book would NOT compile and has clearly not been tested. Many of the msitakes are not one-off glitches, but are persisted throughout the book - it is really really anoyying!

Do what I did, print out the hibernate docs. Dont do the other thing I did, buy this book. My next try will be 'Hibernate In Action' - not sure yet if its any good.
12 of 12 people found the following review helpful
HASH(0xa56b12f4) out of 5 stars Good thing my company paid for this... Jan. 28 2005
By Steve Torrefranca - Published on
Format: Paperback
Well plain and simple folks... those who gave more than 1 star were PAID to give this book a rate it didn't deserve.

How bad it is, you would ask. Well let us say reaching page 7 I had to go to Amazon to see what other people say about this book. For a moment I thought I had lost 100% of my programming IQ for drinking too much tea. I cannot continue a page more. That is how bad it is. I think the authors are .net programmers and were just asked to write a book on hibernate.

If you really really hate someone, recommend this book. But if you value your hard earned money, stay away from this one. Don't let the Editorial Reviews misguide you. I think the "editors" never actually read it.

Listen to us; we poor people who actually bought and read Professional Hibernate.
12 of 12 people found the following review helpful
HASH(0xa56afd98) out of 5 stars Laughably bad May 10 2005
By Patrick Carroll - Published on
Format: Paperback
Full of typos (they could at least have done a search-and-replace of "Hibemate"). Lots of filler (viz. the chapters on things like the DAO pattern).

Definitely not worth it.

The Manning book remains the standard for in-depth coverage, while the O'Reilly programmer's notebook does the trick for the quick-and-dirty introduction. Skip the rest.