Is hibernate not quite ready yet to enter as an OSGI bundle (this says its good to go: http://www.infoq.com/news/2012/01/hibernate-4-released/), or are you just missing someone who can generate you the OSGI Manifests in 'a way that should be done'?
I have gone though the exercise with Hibernate 3.5 and I have managed to package it for OSGI with Bundlor - tested and works under Glassfish/Felix OSGI environment in a Web Application Bundle.
Overall, I had the hibernate core and commons-annotations as bundles, and entitymanager and annotations were fragments with core as host. That seemed to be the approach from the Spring Bundle Repository.
I have identified the dependencies: antlr, javassist, cglib, dom4j and slf4j. I decided which versioned imports and exports were required - which was the hardest part for me not being a Hibernate dev.
If you want I can share the template files for Bundlor for Hibernate 3, and go through this for Hibernate 4.
Steve, Can you please help explain a bit here and if I am missing something?
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Steve, I'm not sure what the exact problems is.
Is hibernate not quite ready yet to enter as an OSGI bundle (this says its good to go: http://www.infoq.com/news/2012/01/hibernate-4-released/), or are you just missing someone who can generate you the OSGI Manifests in 'a way that should be done'?
I have gone though the exercise with Hibernate 3.5 and I have managed to package it for OSGI with Bundlor - tested and works under Glassfish/Felix OSGI environment in a Web Application Bundle.
Overall, I had the hibernate core and commons-annotations as bundles, and entitymanager and annotations were fragments with core as host. That seemed to be the approach from the Spring Bundle Repository.
I have identified the dependencies: antlr, javassist, cglib, dom4j and slf4j. I decided which versioned imports and exports were required - which was the hardest part for me not being a Hibernate dev.
If you want I can share the template files for Bundlor for Hibernate 3, and go through this for Hibernate 4.
Steve, Can you please help explain a bit here and if I am missing something?