In an OSGI environemnt, the JPA entities are distributed in different OSGI Modules. How do we query Entities in one Module, and join another entity in different Module.
EclipleLink introduced an extention that allows using Table operator: https://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Basic_JPA_Development/Querying/JPQL#TABLE to solve this problem. Additional option is the composite Persistence Unit. Do we have something similar to solve this problem in OpenJPA ? How do others deal with this problem ?