btw we don't support hibernate 4.3 (hibernate changed packages between
4.x and 4.3 it seems) that's fixed on trunk btw
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014/1/13 Romain Manni-Bucau <[email protected]>:
> using <provider>org.hibernate.ejb.HibernatePersistence</provider> all
> will be done automatically otherwise
> org.apache.openejb.hibernate.OpenEJBJtaPlatform as jtaplatform
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2014/1/13 Karl-Philipp Richter <[email protected]>:
>> Hi together,
>> I'm trying to get Hibernate 4.3.0.Final and OpenEJB 4.6.0 to work in
>> embedded unit testing (example application attached which works
>> perfectly with OpenJPA 2.2.2). Hibernate 4.3.0.Final needs the
>> hibernate.transaction.jta.platform
>> property (e.g. in glassfish deployment, I've to set it to
>> org.hibernate.service.jta.platform.internal.SunOneJtaPlatform
>> , otherwise I get
>> <code>
>> java.lang.NullPointerException
>>         at
>> org.hibernate.engine.transaction.internal.jta.JtaStatusHelper.getStatus(JtaStatusHelper.java:76)
>> </code>
>> (see a detailed description for jboss solution on
>> http://stackoverflow.com/questions/18822165/cannot-create-entity-manager-jboss7-liferay-6-0-oracle-datasource
>> for jboss
>> ). I was wondering whether something similar exists for OpenEJB. Maybe
>> somebody knows whether one of the entries on
>> https://docs.jboss.org/hibernate/core/4.3/devguide/en-US/html/ch07.html#services-JtaPlatform
>> work.
>> Any help is appreciated.
>> Is there a guide on Hibernate + OpenEJB?
>>
>> All the best,
>> Karl

Reply via email to