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

Mixing Hibernate Inheritance Mapping Strategies

 
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