Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Duplicate Entity class

 
Yewint Ko
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
I am facing a problem in JPA. I have duplicate classes with the same name in different pkg. When I try mapping ,say, Animal class. JPA tell me dulplicate classes are found and throw exception.
I think that might be because of automatic import feature in JPA. Please , somebody help me solve this problem when you are free.

this is my persistence xml file



Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic