Skip to main content

What are the best books for Hibernate & JPA?


My team is about to build a new product and we are using Hibernate/JPA as the persistence mechanism. There are other book posts on stackoverflow, but I couldn't find one that matched my needs.



My manager will be purchasing books for our team to use as a resource so...



What are the best books about Hibernate and JPA?



(Please list each book suggestion in a separate answer)

(If you already see your book answered, instead of adding it again, just vote it up)


Source: Tips4allCCNA FINAL EXAM

Comments

  1. Java Persistence with Hibernate is the new edition of Hibernate in Action. It includes all the 3.x features, including JPA, and offers a bonus chapter on Seam, so don't get the old edition :-).

    They should really call this book "The Actual Documentation for Hibernate". I'd been using Hibernate for 2 years prior to reading it, and I thought I knew what I was doing, but this book made me realize I'd only skimmed the surface.

    This book was co-authored by Gavin King, the author of Hibernate. It's the closest thing to a "Hibernate bible" that you're going to find.

    ReplyDelete
  2. I am using the Java Persistence with Hibernate book. It is pretty thorough. I used an earlier version of this book (it did not have the JPA stuff) to learn how to use Hibernate myself from scratch. I am sure I have a lot more to learn, but I think its a good book.

    ReplyDelete
  3. There is only one book that I can really recommend and that is JPA2 Pro. A must for every developer using JPA technology.

    http://apress.com/book/view/1430219564

    ReplyDelete
  4. Hibernate in Action is a bit outdated, but still worth the price. Java Persistence with Hibernate is bloated and not as focused.

    ReplyDelete
  5. Also Hibernate Made Easy; Simplified Data Persistence with Hibernate & JPA Annotations is a good book.

    ReplyDelete
  6. Pro EJB 3: Java Persistence API is absolutely essential for working with JPA. It was written by one of the spec authors (Mike Keith), and I frequently refer to it. I keep it on my desk next to my computer at work.

    It's one of those books where your coworker asks you a question about JPA and then you look it up in the index and the answer is always right there in the text.

    ReplyDelete
  7. There is another very good book on JPA 2.0:

    Java Persistence with JPA, by Daoqi Yang. It was recently published (April, 2010). The author claims being complete in the coverage of JPA 2.0, and being concise but with many examples. The author has a website to support this book: http://www.yangdaoqi.info/jpa.html

    ReplyDelete
  8. I found Hibernate: A Developer's Notebook by James Elliott very useful when I was first investigating Hibernate, but I guess it depends upon the experience level of your team with Hibernate.

    ReplyDelete
  9. I have that particular book, and while it is useful, wasn't it covering Hibernate 2.x which was modified quite a bit for the current 3.x release? (Not to say that it won't get you started, and quickly, but we should point out that it's relatively old.)

    ReplyDelete
  10. You can't beat "Hibernate in Action" for learning Hibernate. It also serves as an excellent reference and I'd recommend purchasing the PDF version, since it's easier to search. Here's a link to the book's web site at Manning publishing: http://www.manning.com/bauer/.

    Oooops ... I just noticed that I have the paper copy of "Hibernate in Action" but the electronic copy of "Java Persistence with Hibernate". That web site is: http://www.manning.com/bauer2/

    ReplyDelete
  11. I knew NOTHING about hibernate and I even barely know enough about the Java language. my other team members started learning hibernate from most of the books mentioned here and it took them WEEKS to learn hibernate But I learned the basics needed to jump start with hibernate from this book: "Hibernate Made Easy".. I read most of it just in 1.5 work days. BEST thing to BEGIN with and then move on to other advanced books.

    ReplyDelete
  12. "Hibernate in Action" is all time best book for Hibernate

    ReplyDelete

Post a Comment

Popular posts from this blog

Wildcards in a hosts file

I want to setup my local development machine so that any requests for *.local are redirected to localhost . The idea is that as I develop multiple sites, I can just add vhosts to Apache called site1.local , site2.local etc, and have them all resolve to localhost , while Apache serves a different site accordingly.