-
1. Re: Spring Hibernate Integration examle..
ffang May 8, 2012 7:58 PM (in response to ravikumarrs)Hi,
Not sure what you mean by "using Spring and Hibernate integration", ensure you already take a look at jpa-osgi example shipped with kit.
FYI we suggest to use OpenJPA but not hibernate as OpenJPA works better in OSGi container.
Freeman
-
2. Re: Spring Hibernate Integration examle..
ravikumarrs May 9, 2012 12:14 AM (in response to ffang)Hi,
Thanks for your reply. I have already used OpenJPA. It's working fine.
But my requirement is to use Spring & Hibernate configuration.
Does Hibernate works properly in OSGI container?
If it's not, what is the issue, Hibernate not works in OSGI Container.
If it is, kindly share an example or links.
Kindly provide some inputs.
Any help is greatly received.
Ravi
-
3. Re: Spring Hibernate Integration examle..
davsclaus May 9, 2012 2:37 AM (in response to ravikumarrs)No Hibernate does not work properly in OSGi. The Hibernate team have not gotten around working on that.
People have got around this with Hibernate, but putting together an uber JAR with all the hibernate JARs in a single JAR, and then install that in OSGi. That have worked for some.
-
4. Re: Spring Hibernate Integration examle..
ravikumarrs May 10, 2012 8:13 AM (in response to davsclaus)Thanks for your reply. I am trying too much to make hibernate work in SMX. Every time facing new issues.
I will try again. If any issues, I do post again and need your valuable help.
Ravi