Meaningless Drivel is fun!*
The moose likes Object Relational Mapping and the fly likes No Persistence provider for EntityManager named mockPersist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "No Persistence provider for EntityManager named mockPersist" Watch "No Persistence provider for EntityManager named mockPersist" New topic
Author

No Persistence provider for EntityManager named mockPersist

Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
Below is my persistence.xml



Here is how I create..



Please suggest.
 
Don't get me started about those stupid light bulbs.
 
subject: No Persistence provider for EntityManager named mockPersist
 
Similar Threads
Problem javax.persistence.NoResultException: No entity found for query
Hibernate: Error getting property 'lastItem'
EJB & JPA Unexpected Results
Problem with Mapping between 1 bit column and boolean field
JPA-hibernate-spring config