You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Matt Pavlovich (JIRA)" <ji...@apache.org> on 2019/01/07 16:15:00 UTC

[jira] [Created] (OPENJPA-2766) Modularity support

Matt Pavlovich created OPENJPA-2766:
---------------------------------------

             Summary: Modularity support
                 Key: OPENJPA-2766
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2766
             Project: OpenJPA
          Issue Type: New Feature
            Reporter: Matt Pavlovich


Support modular organization of entities so that all entities do not need to be contained in the same jar, or referenced in a single persistence.xml <class> listing.

Use cases:
1. Jar A contains entityA, Jar B contains entityB. Jar C contains persistence.xml defining the PU
2. EntityB may or may not extend from entityA

Features:
1. Auto-classpath scanning (perhaps for persistence-fragment.xml.. then enumerate)
2. Support manual registration and unregistration of entity classes (not just class names) to support OSGi environments that have per-bundle classloaders and deploy/undeploy support.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)