Gerd Wagner | 4 Dec 2008 02:26
Picon
Favicon

Re: Hibernate plugin, using JPA

Hi Horacio,

Horacio Vico wrote:
> Hi people, today I discovered this wonderful SQL Client, great job  
> developers!
Thanks a lot. :-)

> Caused by: javax.persistence.PersistenceException: No Persistence  
> provider for EntityManager named SeamJGenUITestApp
> 	at  
> javax 
> .persistence.Persistence.createEntityManagerFactory(Persistence.java:89)
Sorry that I didn't have the time for deeper investigation but I found two hints:
1. Do you have the hibernate-entitymanager jars in your classpath defined in the 
Hibernate Plugin configuration?

2. Is your persistence.xml in the subdirectory /META-INF/ of your classpath 
defined in the Hibernate Plugin configuration.

Hope this helps.

Gerd

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane