Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to write or map a primary key and two foreign key fields in one hbm.xml file

 
raj jaiswal
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have one primary key and two foreign key fields in my table. .My question is how to map or write primary key and foreign key fields in hbm.xml file. As per i know in one hbm.xml class having only one id that is primary key or foreign key.


So please help any one to solve this problem.


Thanks

Rajjaiswal
--------------------------------
MCA SCJP1.6
 
raj jaiswal
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Yesterday I posted One issues can any one solve that issues.
Because I am unable to solve that problem.


thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic