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

[韓日関係] 首相含む大幅な内閣改造の可能性…早ければ来月10日ごろ=韓国

div not scrolling properly with slimScroll plugin

I am using the slimScroll plugin for jQuery by Piotr Rochala Which is a great plugin for nice scrollbars on most browsers but I am stuck because I am using it for a chat box and whenever the user appends new text to the boxit does scroll using the .scrollTop() method however the plugin's scrollbar doesnt scroll with it and when the user wants to look though the chat history it will start scrolling from near the top. I have made a quick demo of my situation http://jsfiddle.net/DY9CT/2/ Does anyone know how to solve this problem?

Why does this javascript based printing cause Safari to refresh the page?

The page I am working on has a javascript function executed to print parts of the page. For some reason, printing in Safari, causes the window to somehow update. I say somehow, because it does not really refresh as in reload the page, but rather it starts the "rendering" of the page from start, i.e. scroll to top, flash animations start from 0, and so forth. The effect is reproduced by this fiddle: http://jsfiddle.net/fYmnB/ Clicking the print button and finishing or cancelling a print in Safari causes the screen to "go white" for a sec, which in my real website manifests itself as something "like" a reload. While running print button with, let's say, Firefox, just opens and closes the print dialogue without affecting the fiddle page in any way. Is there something with my way of calling the browsers print method that causes this, or how can it be explained - and preferably, avoided? P.S.: On my real site the same occurs with Chrome. In the ex