Generate tables from entities stop to work after convert JPA into a OSGi project [message #816229] |
Thu, 08 March 2012 10:20  |
Eclipse User |
|
|
|
Hi,
I've created a small JPA project with Dali 3.0.2. Also, I have created a diagram and generated the tables on my derby database.
After I have converted this project into a OSGi using the Libra's "Convert to OSGi Bundle project", I can't generate the tables anymore with the following error:
Exception in thread "main" javax.persistence.PersistenceException: No Persistence provider for EntityManager named JpaTest
at javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)
at org.eclipse.jpt.jpa.eclipselink.core.ddlgen.Main.execute(Main.java:73)
at org.eclipse.jpt.jpa.eclipselink.core.ddlgen.Main.main(Main.java:61)
I have tried to add eclipselink bundles into the generated manifest but without success...
Could anyone give a tip here?
regards,
Cristiano
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04344 seconds