Hi,

one quick question about TomEE and Hibernate. I have installed the required
jars into TOMEE_HOME/libs but I have not removed the openJPA jars.

Then if I add this line inside persitence.xml

<provider>org.hibernate.ejb.HibernatePersistence</provider>

Hibernate provider is used as expected. But if I remove this line and I add
next line inside conf/system.properties

javax.persistence.provider=org.hibernate.ejb.HibernatePersistence

Although in theory hibernate should be used, openJPA is the chosen one. Is
this a bug?


-- 
+----------------------------------------------------------+
  Alex Soto Bueno
  www.lordofthejars.com
+----------------------------------------------------------+

Reply via email to