Hi, To narrow the problem, I will suggest to suppress/remove IProject to see if that changes anything.
Are the following statements true for your environment? 1. the persistent classes are not specified at <class> tag of persistence.xml but specified as Map before construction of EMF. 2. The persistent classes are not enhanced at bulid-time. -javaagent is also not activated. OpenJPA should subclass these persistent classes to manage them. 3. the persistent classes may be loaded by different classloaders If they are, you have an interesting requirement -- your experience will be useful to others. -- View this message in context: http://www.nabble.com/JPA%3A-adding-entities-to-EntityManagerFactory-programmatically-tp17500835p17548472.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
