Hi JPA guys,

In the Apache Ode podling we're currently working on replacing Hibernate
with OpenJPA. It's been working great so far but I have a couple of
questions. I'd need to set the transaction manager and the datasource
manually using the OpenJPA API and I've been unable to find the right class
and the right setters so far. Is there an easy way to do that?

The use case is we need to run both in containers with their own tx manager
(like Geronimo) and lightweight containers (like Tomcat). In the lightweight
case we instantiate our own transaction manager (JOTM) and our own
datasource (Minerva) and we don't need any JNDI (unnecessary painful).

I've been looking around and haven't found an easy way. I could have a look
at the sources but I figured that asking you directly would be quicker.

Thanks!

Matthieu

Reply via email to