Hi,
Are you sure you defined a primary key in your entity class. 

On Fri, 2009-11-06 at 12:54 -0800, Chetana Shenoy 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to