Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » No Persistence provider from dependency
No Persistence provider from dependency [message #533511] Fri, 14 May 2010 07:14 Go to previous message
Marc Fargas is currently offline Marc Fargas
Messages: 22
Registered: May 2010
Junior Member
Hi,

I have two Plug-in projects, the first one defines a bunch of Entities of a database I need to deal of, and from this project (from it's tests) everything works nicely (ie: Query de DB).

Then I created project 2 which provides some UI to deal with some stuff and depends on the first project (to Query it's DB). I added the project as plugin dependencies of project 2.

But, when I called createEntityManagerFactory() I got that nice error:

"javax.persistence.PersistenceException: No Persistence provider for EntityManager named xxxxxxxxxxxx"

I've being googling around for a while (two days) but all the solutions I found did not apply. Among other things I tried to copy the persistence.xml file from project1 to project2/META-INF, project2/src/META-INF and the bin/ folder with no luck.

Do you have anyclues on what may I be doing wrong?

Thanks a lot.
 
Read Message
Read Message
Previous Topic:Implementing aggregate boolean functions in JPQL?
Next Topic:[ANN] EMFT Texo: generating pure pojos and the ORM from ecore/xsd models
Goto Forum:
  


Current Time: Thu May 23 14:04:08 EDT 2013

Powered by FUDForum. Page generated in 0.02477 seconds