mdebooy wrote:
> 
> Even when I leave out the transaction manager lookup out of it then I get
> this error message. 
> 
Yes, there is no magic here. OpenEJB only looks for the <provider> tag in
the persistence.xml file.
In your case, the provider tag is
<provider>org.hibernate.ejb.HibernatePersistence</provider>.

IMHO, the problem comes from the set up you are using.
I actually see two solutions for you:
1. use another OpenEJB bundle with Hibernate inside (instead of OpenJPA)
2. use the built in JPA provider (OpenJPA)

The second one is quite easy to test, cause you only need to change the
provider tag value to OpenJPA persistence provider or just remove it.

The first one is a bit more tricky cause you need to bundle a new openejb
webapp with Hibernate inside.

That's not always an easy task. I gonna try to push a new profile for that.
In the mid time, can you please switch to OpenJPA provider.

Hope it helps,
Jean-Louis




-- 
View this message in context: 
http://openejb.979440.n4.nabble.com/persistence-tp2285460p2286558.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to