Start reading Beginning Hibernate on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Beginning Hibernate: From Novice to Professional (Beginning: from Novice to Professional)
 
 

Beginning Hibernate: From Novice to Professional (Beginning: from Novice to Professional) [Kindle Edition]

Dave Minter , Jeff Linwood
2.0 out of 5 stars  See all reviews (1 customer review)

Digital List Price: £26.03 What's this?
Print List Price: £31.49
Kindle Price: £20.82 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £10.67 (34%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £20.82  
Paperback £31.09  

Product Description

Product Description

Beginning Hibernate is ideal if you’re experienced in Java with databases (the traditional, or connected, approach), but are new to open source lightweight Hibernate—the most popular de facto object-relational mapping and database-oriented application development framework. This book packs in information about the release of the Hibernate 3.2.x persistence layer and provides a clear introduction to the current standard for object-relational persistence in Java.

Experienced author Dave Minter and contributor Jeff Linwood provide more in-depth examples than any other books for Hibernate beginners. The authors also present material in a lively, example-based mannernot in a dry, theoretical, hard-to-read fashion. And since the book keeps its focus on Hibernate without wasting time on nonessential third-party tools, you’ll be able to immediately start building transaction-based engines and applications.

What you’ll learn

Who this book is for



This book is for Java developers who want to learn about Hibernate.

About the Author

Jeff Linwood has been involved in software programming since he had a 286 in high school. He got caught up with the Internet when he got access to a UNIX shell account, and it has been downhill ever since. Jeff has published articles on several Jakarta Apache open source projects in Dr. Dobb's Journal, CNET's Builder.com, and JavaWorld. Jeff has a bachelor's degree in chemical engineering from Carnegie Mellon University. He currently works for the Gossamer Group in Austin, Texas, on content management and web application syndication systems. He gets to play with all the latest open source projects there. Jeff also co-authored Professional Struts Applications, Building Portals with the Java Portlet API, and Pro Hibernate 3. He was a technical reviewer for Enterprise Java Development on a Budget and Extreme Programming with Ant.

Product details

  • Format: Kindle Edition
  • File Size: 3044 KB
  • Print Length: 360 pages
  • Publisher: Apress; 1 edition (25 Aug 2006)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B001D4WX8O
  • Text-to-Speech: Enabled
  • Average Customer Review: 2.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: #307,865 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Authors

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Customer Reviews

5 star
0
4 star
0
3 star
0
1 star
0
Most Helpful Customer Reviews
Format:Paperback
Hibernate isn't that hard to learn but unfortunately with this book you may decide to give up. As mentioned in other reviews :The minimum that should be required from a computing book is that the code compiles/works.
I've just worked through the first three chapters and I've decided nobody checked the code before publication. How can this be!

Here's one of many problems:
In chapter three you create a simple application? which demonstrates Hibernate. (Far too complicated using ant tasks to invoke Java classes to exercise Hibernate) Also it's a real pain to get the Ant Script to work (I'm using Java6). Additional jars need to be downloaded. Why complicate learning Hibernate with getting Ant to work?

In this chapter the three entity classes are placed in a package (sample.entity) and the hibernate mapping files refer to them existing in another package (com.hibernatebook.chapter3). (well, two out of three. So they got one right, well done!)

This is just a simple example but it demonstrates that nobody checked the code. Again, how can this be! There are plenty of other similar mistakes.
I have no idea how these people get away with it!

So my advice would be to avoid this book if you can!
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  17 reviews
28 of 28 people found the following review helpful
How Awful Can A Book really Be? An Awful Book for Learning 2 Oct 2007
By Kev McMurray - Published on Amazon.com
Format:Paperback
I just can't tell you how frustrated I am at trying to learn Hibernate with this useless book.

I mean, I'm a patient guy, and I know technology well, but trying to learn from this book is brutal.

The examples are all over the place. In chapter 6, you get into annotations, and they've got this huge example with all these tables and garbage. All i want to know is how to do a simple one-to-many mapping between two tables - that's it! But instead, I get five classes with many to one, one to many, many to many, and all this other stuff that obfuscates the point so much, it's not even worth it.

And what's more, they deal with all this code and table references, but there's no ERD diagram to be found. I mean, where is it? I'm jumping from code to annotations to create SQL scripts - I want a simple ERD diagram to show me what's connecting where.

And this book makes no effort to explain. I loved this sentence "The mappedBy attribute is mandatory." Ok, could you maybe tell me what it means, what it does, or what it represents? Is that too much to ask.

Plus, simple stuff is just missing. A simple one-to-one relationship with xml is never demonstrated - just a pathetic description of the xml entry that doesn't describe at all how to do a mapping.

Plus, the book shoots page after page of definitions that look like it was pulled directy from the documentation, but no examples of how to use them in your code - just filler.

I really hate this book. The authors may know Hibernate, but they know nothing about teaching or helping someone understand a technology. I'm shoving this book in the garbage.
5 of 5 people found the following review helpful
A bad name for a really good book 29 Jan 2008
By Rich Rosen - Published on Amazon.com
Format:Paperback
I found this book to be really well organized and methodical, starting with the basics of Hibernate and working up to more complex aspects and features in a gradual, measured fashion. My only prior exposure to a book on Hibernate was Hibernate: A Developer's Notebook; it was short and sweet, and of necessity was kind of lightweight, not sufficient for really getting into Hibernate deeply. I looked at Java Persistence with Hibernate but found it kind of baroque. Although that seems to be the most popular book on the subject, I found its approach not especially conducive to learning the subject matter.

My background is that I am an experienced Java/J2EE programmer with a strong database background. My organization has been making use of Hibernate but others in my group have been the ones really blazing the trails. So I'd been exposed to Hibernate usage, I could "get" a good portion of what's going on under the hood, but I required better and deeper understanding if I wanted to work more intimately with our lower-level "DAO" code.

Most complaints I'm seeing here seem to be saying that this book is not for beginners. First, I would question what kind of "beginners" we are talking about--would a novice Web designer who can use design tools but doesn't know HTML, or a PHP programmer who doesn't know Java or J2EE or enterprise design patterns, find this book useful and readable? I don't think so. So I would have to agree, this is not a book for that kind of "beginner".

But this is an indictment of the title, not of the book itself. This IS a book that starts at the beginning and works its way up to rather advanced stuff in what I thought was a well-organized manner. The material in later chapters requires background and experience with other aspects of Java and database technology, including understanding of annotations, abstract query language concepts, etc.

For a lighter-weight introduction to Hibernate I might recommend Hibernate: A Developer's Notebook, but if you are really looking to get into the trenches and dig deep, I found this book to be excellent. I've been told that other APress books named "Beginning XXXXX" are mis-titled, that the "Beginning" title really isn't appropriate and really doesn't do the book(s) justice. So be aware that these are books that start at the "beginning" but that doesn't mean they're necessarily appropriate for total neophytes in related technologies.
17 of 22 people found the following review helpful
THE BEST YET 29 Oct 2006
By H. Wu - Published on Amazon.com
Format:Paperback
I bought Hibernate in Action a few months ago (claims to be the Hibernate Bible by some folks). Well it's a good book, but many details and tricky stuff were left out. I had some problems finding useful information from that book.

Beginning Hibernate offers MANY MANY more tips. Its written style is consice and to the point. I actually found 2 solutions to the problems I encountered on my first Hibernate project. Very clear explanation on association, class mappings, HQL and Annotations. Definitely recommended to beginners (such as me) and veterans!
Search Customer Reviews
Only search this product's reviews

Popular Highlights

 (What's this?)
&quote;
in an EJB server: bean-managed persistence (BMP) and container-managed persistence (CMP). In BMP, the bean itself is responsible for carrying out all of the SQL associated with storing and retrieving its data-in other words, it requires the author to create the appropriate JDBC logic, complete with all the boilerplate from Listing 1-3. CMP, on the other hand, requires the container to carry out the work of storing and retrieving the bean data. So &quote;
Highlighted by 4 Kindle users
&quote;
SessionFactory is a heavyweight object, and your application should use one Hibernate SessionFactory object for each discrete database instance that it interacts with. &quote;
Highlighted by 4 Kindle users
&quote;
Detached objects have a representation in the database, but changes to the object will not be reflected in the database, and vice versa. &quote;
Highlighted by 4 Kindle users

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges