Hello.

I'm testing Hibernate on ServiceMix, and I have similar problems.
I've tried using the Hibernate 4.2.7 that comes with ServiceMix 5.0.1, but
as it did work, I've built a simple feature with the 4.2.12.
I had the same error that you described about the the EntityManagerFactory,
and stopping the Hibernate-OSGi bundle before I deploy my bundles seemed to
resolve the issue.
Thanks for the trick !
But when I test it all, I have now a problem with the transaction that seems
no to be commited at the end of my service call, and, therefore, the
persisted entities are not really inserted into the database. I use the
tx:transaction declaration in the service blueprint, but it doesn't work.
Did you experience such problems ?
Thanks.
Regards.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/JPA-with-Karaf-tp4031000p4033281.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to