tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamtho <>
Subject How to enable/disable Hibernate EntityManager
Date Fri, 06 Feb 2009 10:14:24 GMT


I´m still struggling with the EXTENDED Persistence context and
Maybe it has anything to do, because i use the Hibernate EntityManager.
But I´ve got the strange behaviour, that in one test case - which works
(!!!) - only the Hibernate-Session is loaded while openEJB starts up and in
the other test case - which does not work - the HibernateEntityManager is
The persistence.xml is identical in both cases.

<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="" version="1.0">
	<persistence-unit name="IisPU">
			<property name="" value="update" />
			<property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema(ForeignKeys=true)" />
		 <property name="hibernate.transaction.manager_lookup_class"

Is there any chance to control wheater openEJB should use Hibernate or
HibernateEntityManager or what is the strategy of openEJB to decide which
implementation to load?

Maybe someone can help

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message