Lucas, We are reviewing the JPA interfaces based on the final release of the JPA specification. This will be released in Resin 3.1.
Regards, -- Rodrigo --- Lucas Bergman <[EMAIL PROTECTED]> wrote: > Hi -- > > I was trying to prepare some application work that uses JPA but has > to > support many container and JPA implementation vendors (e.g., > Glassfish > nee TopLink, Hibernate EntityManager, Amber), and I had a couple of > questions about Resin's JPA code: > > 1. It appears that Persistence.java is checking for JPA service > provider classes by reading the resource > > META-INF/services/javax.persistence.PersistenceProvider > > This seems odd. It seems like it should be > > META-INF/services/javax.persistence.spi.PersistenceProvider > > 2. The JPA interfaces with Resin seem out of date. In particular, > the PersistenceProvider interface shipped with Resin has > methods: > > createEntityManagerFactory(String): EntityManagerFactory > createContainerEntityManagerFactory(PersistenceUnitInfo): > EntityManagerFactory > > and the PersistenceProvider interface specified by Java EE 5 > has > methods [JavaEE5]: > > createEntityManagerFactory(String, Map): EntityManagerFactory > createContainerEntityManagerFactory(PersistenceUnitInfo, > Map): > EntityManagerFactory > > Both of these seem to be present in the 3.0.21 release, as well as > the > 3.0 snapshot (060920) and the 3.1 snapshot (060913). > > Any ideas? > > Thanks, > -- Lucas > > [JavaEE5] http://tinyurl.com/o2eym > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest > _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest