- Paperback: 442 pages
- Publisher: PulpJava (April 25, 2008)
- Language: English
- ISBN-10: 0615201954
- ISBN-13: 978-0615201955
- Product Dimensions: 8.5 x 0.9 x 5.5 inches
- Shipping Weight: 1.2 pounds (View shipping rates and policies)
- Average Customer Review: 71 customer reviews
- Amazon Best Sellers Rank: #941,064 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Hibernate Made Easy: Simplified Data Persistence with Hibernate and JPA (Java Persistence API) Annotations
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
"Neverworld Wake" by Marisha Pessl
Read the absorbing new psychological suspense thriller from acclaimed New York Times bestselling author Marisha Pessl. Learn more
Frequently bought together
Customers who viewed this item also viewed
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
1. This book uses Hibernate 3.2.5. The latest version (as of this writing) is 3.6, which I, of course, installed. However, not being knowledgeable about the various releases, this turned out to be a huge mistake. 3.6 has some very big changes which made the installation instructions in the book almost useless. Most of the files named in the book are no longer there (the annotations module has been merged with the core, for example), some of the main classes used in the book don't seem to be there anymore, and even the configuration files are different now. I don't blame the author...this stuff just happens to tech books over time, and I could have just gone back and installed the earlier version to save myself this grief. I just wish I had not been the first person to pay over $50 for this book before realizing it has reached this state, and warned others. And this sort of thing is extremely frustrating to a new user that wants to get things rolling as quickly as possible.
2. Something I'm seeing a lot more recently in various forms of literature are obvious typos, grammar and punctuation errors, and attempts at being contemporary through the use of pseudo-words. Now, I'm no grammar Nazi, and I'm not perfect at all, but sprinkled in amongst the many typos in this book is the far too frequent use of the pseudo-word "kewl." At first I figured the author was trying to be funny, then I thought he might be using it in an ironic fashion, but after it reappeared ad nauseum, it got incredibly annoying. Making the typos even more annoying is the fact that the author mentions in the preface that he self-publishes, and so doesn't have the resources others might have to check for typos, but that this also allows him to make frequent updates to his text. This appears not to have happened. And at the very high price I paid for this book, I expected more quality. So, regarding this second issue, I would like to apply to the book the following pseudo-noun: Fail.
If you still want to the book, you can buy it on the author's website for $9 less than Amazon.
I worked my way through each chapter and was able to easily learn how to use Hibernate with JPA annotations. After completing the book I could translate what I learned into an application that uses Hibernate, Spring, Maven and a completely different database.
The first two chapters help you setup a development environment on your computer so you can load and run the example code. The book uses MySQL as its database for the examples. All the steps are clearly explained and I didn't have any trouble getting MySQL, Hibernate, and the Java source code to all work together.
The strength of this book is the easy to follow code examples. Cameron goes out of his way to ensure that everything about the example code is explained well. Each chapter covers a specific area and isn't so long that you feel like you're hacking your way through the Amazon jungle. I never felt lost in the book.
Cameron is very good in this book at explaining the basics of Hibernate and then building on those basics to teach how to implement more advanced Hibernate features (e.g. many-to-many relationships).
The author clearly stands behind his work (checkout his $100 code guarantee) and Cameron answered promptly via email some questions I had about the code. I'm a stickler for example code that works and Hibernate Made Easy delivers.
There is also an excellent chapter where Cameron explains how to setup a set of data access objects that use a generic DAO to abstract into one class common data access methods like find, save, and delete. I was able to put that concept to work in my own projects.
I only have two minor criticisms. The code download is not complete and somewhat disorganized. For example, several of the classes needed to build the final example application (chapters 20-22) were missing. These classes were all in the book so I just had to type them myself. Since the classes aren't too long, that wasn't much of a chore.
I would have preferred a code download organized by chapter. So if I wanted to build a Java application in my favorite IDE that would match up with a specific chapter's example code, I would have just one place to look for the source files to import. Instead, in the code download for the book, the source files from all the chapters are present but not in any organized manner.
Overall I give this book 4.75 out of 5 stars. It really delivered on helping me learn Hibernate.
If you're an experienced Java developer who wants to learn Hibernate then I strongly recommend this book. I enjoyed reading it, learned a great deal, and am now applying what I learned to my projects at work.
This book has not disappointed me except one bit. OK. Just one bit. That's chapter 16 on Mapping Inheritance when the author gave no complete code listings on Ancestor, Parent, and Child like he did to other codes. Also he failed to mention that Hibernate won't know how clean the database tables correctly when index is involved. It took me three days and numerous googl searches. No answer from anywhere. I couldn't get pass the InheritanceType.TABLE_PER_CLASS. I thought I was up to grab that $[...] challenge from the author.
I woke up the 4th day and I finally figured out that I had to manually delete those tables (or the entire schema) for Hibernate Configuration to recreate tables correctly. Had the author mention the possible cause of failing the drop of tables, I could have saved the past 3 struggling days.
Am I still entitle for that $[...] bill?
Really. This is not the RTFM type of book. It worked for me and helped me with a good start at my new job. I felt a little violated after spending $[...] bucks on a book from a no name publisher. But that little bit of investment for a .NET programmer proves everybit worthy.
Can you write a book on Spring just like what you have done with Hibernate, please?
Most recent customer reviews
this book is using JPA 1.0.Read more
this book is great, easy to understand.Read more
Mr Cameroon -- I spent 50$ for this book and find no source code ..are you kidding?