aspose file tools*
The moose likes Object Relational Mapping and the fly likes Latest Hibernate Book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Latest Hibernate Book" Watch "Latest Hibernate Book" New topic
Author

Latest Hibernate Book

Jeena Jeen
Ranch Hand

Joined: Feb 11, 2009
Posts: 47
Hello guys,
I am new to JEE world and want to learn more JPA and Hibernate. I prefer to read follow some book
I know this question has been asked a number of times before and when i googled I found a lot of answers.
But what I found that most of those books are quite old. So I am quite confused.
So can someone please point me to some book that covers latest version of Hibernate and JPA 2.0

Regards,
Jeena
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

You should read a book named "Pro JPA 2".

It is a wonderful book, it talks about JPA only, but Hibernate implements JPA. [=


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
Jeena Jeen
Ranch Hand

Joined: Feb 11, 2009
Posts: 47
Thanks @Hebert. Do you know which book should I follow for Hibernate?
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Jeena Jeen wrote:Thanks @Hebert. Do you know which book should I follow for Hibernate?
I work with hibernate but I have not read any book focused in Hibernate, JPA only. [=
Jeena Jeen
Ranch Hand

Joined: Feb 11, 2009
Posts: 47
Soon I am going to start work on a new project for which some part is in Hibernate. So do you think if I only read about JPA then it should sufficient?
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Jeena Jeen wrote: Soon I am going to start work on a new project for which some part is in Hibernate. So do you think if I only read about JPA then it should sufficient?
Yup.

There is a diference in using JPA and Hibernate (as implementation only) or using Hibernate only.

With the first you would do all action through the EntityManager, the second you would use the Hibernate Session.

The first advantage is that you will reduce the coupling between your application an the Hibernate ( in cause you want to change the implementation this would be easier ).

Hibernate has a lot of annotations that is not found in the JPA, but to me they are not necessary.

If you want to learn about the Hibernate itself I have no book indications so far, the Pro JPA 2 book talks about JPA with any implementation (like Hibernate, Eclipselink, Batoo).

[=
Jeena Jeen
Ranch Hand

Joined: Feb 11, 2009
Posts: 47
Thank you so much. Its quite clear to me what is difference between Hibernate and JPA. I will order the book today and lets hope its useful.
Thanks again...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Latest Hibernate Book