Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

duplicate Mapping Exception : duplicate collection role mapping

 
Songezo Nkukwana
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i get this strange error and i have double checked that i don't have duplicates

ERROR



My hbm.xml



My Rank Class



and hibernate config



 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your first error means you have not mapped the class RankProfile.

Your second error means exactly what it says: you have mapped the collection rankProfiles more than once.

Given the configuration files you've posted look OK, I'd check what is actually deployed in your application because it looks like that's not what you think it is.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic