• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate - Many-to-Many relationship in superclass not inherited

 
Ally Cavs
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I have a Hibernate mapping files like the below. When I retrieve a Purchase Order(my super class) I get back a list of Catologs aswell.
But when Invoice (subclass) is retrieved I do not get back a list of asscociated catolgs. The sub class does retrieve all other inherited properties.

What could this problem be? Anything to do with InheritenceType?
The sub class always have list of calologs which is always a list size of 0
Please help I have looked around the net but cant finding anything.


Alan




and the parent



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic