I have succesfully used hibernate with osgi (Eclipse RCP). I used the
bundles from Springsource. I had two problems. The first were
package use problems for some javax packages that were exported by
Equinox with version 0.0.0 and required in another version.
I could solve this by using solution A' from
http://blog.springsource.com/2009/01/19/exposing-the-boot-classpath-in-osgi/.
The other problem was that I did not manage to get the hibernate
annotations working with a bundle. But I was able to include the jar in my
model project and reexport the annotation packages.
So the experience was not perfect but it worked. Switching to
eclipselink was no short term option for us as we used some hibernate
specialities in the project before the switch to osgi.
Best regards
Christian
Am 11.09.2010 14:03, schrieb LongkerDandy:
Hi
I'm been try to use DataNucleus/JDO with felix, but no success.
There are some ClassNotDefine exception which I think is something about
classloader.
I may able bypass this, but since most JDO/JPA framwork are based on
classloader.
I wonder if there are any better way to do the ORM thing with OSGi.
And if anyone has some successful story with it.
Regards
LongkerDandy
--
----
http://www.liquid-reality.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]