• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

No Persistence provider for EntityManager named.....

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, everybody,
a pleasant place you've got.
Here is my problem - I'm trying to fill a visual JSF table with entries from a table of a MySQL database. but I get the following exceptions:

javax.persistence.PersistenceException: No Persistence provider for EntityManager named BozickaPU: The following providers:
oracle.toplink.essentials.PersistenceProvider
oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
Returned null to createEntityManagerFactory.



at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:154)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
at managers.PersonBean.getEM(PersonBean.java:19)
at managers.PersonBean.findThemAll(PersonBean.java:25)
at bozickawar.SessionBean1.updatePersons(SessionBean1.java:51)
at bozickawar.SessionBean1.init(SessionBean1.java:87)
at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.attributeAdded(LifecycleListener.java:350)

Any ideas?
[ January 02, 2009: Message edited by: Ga Ga ]
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you paste your persistence.xml
 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Ga Ga" and "Srini", please check your private messages for an important administrative matter.
 
Marshal
Posts: 80763
488
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, "Srini M" is no better. Abbreviations like that are not acceptable; please correct your displayed name again.
 
Srini Mutpur
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is not able to find the Persistent unit with the name "BozickaPU".
Once check your persistence.xml, is there any persistent unit with the name "BozickaPU".
And make the changes accorndingly.
 
Campbell Ritchie
Marshal
Posts: 80763
488
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, abbreviations like "Srini Jcl" are not acceptable. Please go back to "my profile" and correct your displayed name.
reply
    Bookmark Topic Watch Topic
  • New Topic