HI : I have not delved much into the JPA, but the name "toplink" catch my eye, as toplink
is oracle orm ( similar with hibernate ) are you sure you put toplink as the persistent provider ? --- ignore it if the JPA excercise indeed incorporated toplink into it. sincerely bambang On 11/6/09, Chetana Shenoy <chetan...@yahoo.com> wrote: > > > Hello everyone: > I was working on the HW assignment for LAB 4323. I created the orders > table and an entity class for the table. I included this info in the > persistence.xml. When I run the program, the sql statements in MAIn are > executed but at the end I got the foll. exception : > > Exception in thread "main" javax.persistence.PersistenceException: No > Persistence provider for EntityManager named CustomerServicePU: Provider > named oracle.toplink.essentials.PersistenceProvider threw unexpected > exception at create EntityManagerFactory: > oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException > > Can anyone figure out why I am getting this? > > Any suggestions to fix this is greatly appreciated. > > Thanks, > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---