-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPENJPA-2521 Cannot load entities from a different bundle in an OSGi environment #1
base: 2.3.x
Are you sure you want to change the base?
Conversation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/tags/openjpa-parent-2.3.0@1538090 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/openjpa/tags/openjpa-parent-2.3.0@1540826 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/openjpa/tags/2.3.0@1544159 13f79535-47bb-0310-9956-ffa450edef68
This issue appears dated, but the merge has no conflicts. If it makes sense, it'd be great to get it into 2.4.3 |
Hi all, Is there any problem with my pull request? I still am using my version of OpenJPA in karaf because this isn't merged in the branch. Please let me know if I should do something. Thanks, |
Hi @artaxerxe , from what I see I think it still needs some work:
wdyt? |
Hi @rmannibucau , Of all points which you raised I'm not sure what you mean by 4, but I'll have a closer look and come back afterwards with questions if necessary. Thanks. |
Conflicts: openjpa-kernel/src/main/java/org/apache/openjpa/meta/AbstractCFMetaDataFactory.java openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/OSGiBundleMetaDataIterator.java
@artaxerxe overall idea is to not do the OSGi handling in "main" code but keep it located in OSGi package if possible (not a huge requirement but would be saner overall for the project). One constraint is to be able to run without OSGi in all env, including security manager/javaagent ones and having an indirection makes it easier to guarantee but otherwise looks ok to me. |
Fixed this issue, so that now you can load those entities even in a OSGi context.