However, I hit a roadblock – documented in https://ops4j1.jira.com/browse/PAXTB-15. Classes are stripped of annotations when added to Tinybundles, which is obviously problematic for JPA.
I experimented with other hacky solutions, like attempting to force in a classloader that new where to look for the entity class and persistence.xml, but that sidesteps the entire concept of having a client bundle. For now, I'd like to hold off and do it correctly.
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
I have a work-in-progress with Pax Exam, Tinybundles, and Felix: https://github.com/brmeyer/hibernate-orm/tree/master-osgi-test
However, I hit a roadblock – documented in https://ops4j1.jira.com/browse/PAXTB-15. Classes are stripped of annotations when added to Tinybundles, which is obviously problematic for JPA.
I experimented with other hacky solutions, like attempting to force in a classloader that new where to look for the entity class and persistence.xml, but that sidesteps the entire concept of having a client bundle. For now, I'd like to hold off and do it correctly.