Java Persistence API(JPA) in EJB 3.0

by Krishna Srinivasan

Java Persistence API (JPA) provides POJO (Plain Old Java Object) standard and object relational mapping (OR mapping) for data persistence among applications. Persistence, which deals with storing and retrieving of application data, can now be programmed with Java Persistence API starting from EJB 3.0 as a result of JSR 220. This API has borrowed many of the concepts and standards from leading persistence frameworks like Toplink (from Oracle) and Hibernate (from JBoss). One of the great benefits of JPA is that it is an independent API and can nicely integrate with J2EE as well as J2SE applications.Shunmuga Raja writes about JPA here.

Java Persistence API(JPA) in EJB 3.0.


Steve Loughran
2007-04-14 02:42:22
Hibernate is not Apache. It's from JBoss/Redhat and GPL. There isn implementation of JPA coming from Apache, called openJPA


anonymous coward
2007-04-14 03:43:39
Hibernate is not GPL, it's LGPL
2007-04-19 04:03:06
The article doesn't talk about mapping collections to 1:n or n:m relations. It also doesn't cover how polymorphism is mapped to the relational model. These topics would certainly also be interesting...