OSGI Equinox with Hibernate JPA Setting up

579 Views Asked by At

I am setting up a simple example to persist one Person entity using Hibenate in an OSGI Equinox using eclipse. I read the official documentation in Hibernate web site but the examples use another frameworks and I dont know how many bundles I need and how to set up them.

1

There are 1 best solutions below

0
On

After a few days trying to use hibernate in an Equinox Osgi, I get it. I created a thread in the Hibernate Forum so you can go there:

https://forum.hibernate.org/viewtopic.php?f=1&t=1029974&p=2473673#p2473673

Basically you need to do step by step, setting up every bundle that you need, and also updated to the Hibernate 4.3.0 version and take care with the order of your bundles in run time!!