Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mapping composite primary key as a foreign key in a <set> gives me error Repeated column in mapping.  RSS feed

 
Deeps Mistry
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to map a composite primary key and use it as a foreign key in a <set>.
Below is my hbm files -

CTBR.hbm.xml


CRA.hbm.xml



The error which i get on running is -



Can i not map composite primary key as a foreign key?

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!