• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mixing Hibernate Inheritance Mapping Strategies  RSS feed

 
Vish Shukla
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have this class hierarchy to map in database tables.

ChildL2 extends ChildL1, ChildL1 extends Parent


I need to map Parent and ChildL1 relationship using method of discriminator and ChildL1 and ChildL2 relationship using Table per subclass strategy. Is it possible to do so?

The problem here is <subclass> can't have <joined-subclass> tag inside it.



Please help.. Thanks in advance...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!