On Aug 5, 2009, at 4:10 AM, Will Hoover wrote:

So, I guess that does lead me to a question :) How do we configure openejb
to use a newer version of openjpa? I assume there is some option in
openejb.xml?

You should be able to use any OpenJPA 1.x version by simply deleting the library we ship and dropping in your replacement. That's really true of any JPA 1.0 implementation such as Hibernate or EclipseLink.

As Jacek mentions the JPA 2.0 thing hasn't been tried yet. If there are no changes to the EntityManager interface, then it might work. That'd be the biggest "if" to worry about. OpenEJB has an delegating implementation of the EntityManager interface so it can support TRANSACTION and EXTENDED PersistenceContexts. If there are new methods in that interface, then it will break the container managed persistence context code.

I'll pop on the OpenJPA dev list and see if I can't learn some more info. Would be nice to find a way to allow people to experiment with JPA 2.0 even if it means we have to be a little clever internally.

-David

Reply via email to