Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate and JPA

 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi authors

In your view, should we use JPA and Hibernate together? I found it's much cleaner.

thanks in advance
ak
 
Vishwanath GNV
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anthony,

Both JPA and Hibernate provides persistence and ORM. You can use any one of them. Here JPA contains the features which are there in all the popular ORM frameworks.

For more information, please go throught this link...
http://java.sun.com/javaee/overview/faq/persistence.jsp

Regards
Vishwanath GNV
 
Cor Takken
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Be aware that EBJ 3.0 describes a subset of what Hibernate can deliver. There are also some minor differences in the way the subject is handled and defined.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate itself provides a persistence mechanism that is very elegant and easy to use. Plus, it solves many common problems that people encounter when persisting data, so the answer to the question about using it or not is YES, YES, YES - you should definitely use it, or at least consider it. No one product is the right solution to every problem, but Hibernate can and has been used in many different applications with great success.

-Cameron McKenzie
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cor Takken:
Be aware that EBJ 3.0 describes a subset of what Hibernate can deliver. There are also some minor differences in the way the subject is handled and defined.


What are the extra features ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic