• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Hibernate and JPA

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and cow tipper
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic