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

Can't map child List w/ composite ID

 
Vinnie Jenks
Ranch Hand
Posts: 207
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a parent/child relationship where both tables/classes have a composite ID.

Both of the objects can be queried individually w/o error but I have problems when I try to create the parent/child relationship in the mapping.

I am getting this exception message:



However, I've done what it is telling me to do...as you can see below in my mapping files...

parent:



child:



Where do I go from here? I could not find a post in the forums that would clear this issue up for me...and I'm following the exact instructions from Hibernate In Action on how to do this...yet something is wrong.

Please advise! Thanks!

Using Hibernate 3.1 & MSSQL 2000
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic