This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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.


and the parent

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