What are the advantages of JPA over Hibernate?
Hi All,
I have been using Spring with Hibernate from several years and i am pretty much comfortable with these two technologies. Now i have to give a presentation on various ORM technologies like IBatis, Hibernate and JPA.
I know some of the advantages and disadvantages of using both IBatis and Hibernate.
Now i know that JPA is a specification and Hibernate implements it and also those two technologies looks like very similar.
For ex: EntityManagerFactory is like SessionFactory
EntityManager is like Session
em.persists(obj) is like ses.save(obj)
.......etc.
Some of the advantages of JPA would be like Annotation support, vendor independence.
Now my question is is there any additional benefits of using JPA over Hibernate?
Thanks,
K. Siva Prasad Reddy