Problem : 1. JPA Classes/entities are in Bundle 1 and Bundle 2 using same persistence unit 2. Bundle 3 is trying to access(wrapper APIs for DB API abstraction) the classes in Bundle 1 and Bundle 2. 3. Runtime enhancement is not working.
So what I am planning to do is to enhance the JPA entities using Code, where in just before the bundle 3 comes up, these entities in Bundle 1 could be enhanced. I am planning doing this as the runtime enhancement does not complete and the bundle 3 comes up . This leads to DB APIs(Bundle 3 APIs) failure as tables are not created.