Mixing table per subclass and table per class inheritance policies

Bogdan Ungureanu's Avatar

Bogdan Ungureanu

06 Jul, 2010 12:36 PM via web

Hi, I'm having the current situation:

interface IMapping

interface IBusinessMessageMapping:IMapping
interface INotificationMapping:IMapping
interface ISomeBusinessMessageMapping:IBusinessMessageMapping
interface IOtherBusinessMessageMapping:IBusinessMessageMapping

We would like to have IBusinessMessageMapping and INotificationMapping as table per subclass from IMapping and ISomeBusiness and IOtherBusiness as table per class from IBusinessMapping. How can we achieve this with FNH 1.1.0.685?

  1. 2 Posted by Bogdan Ungureanu on 07 Jul, 2010 03:58 PM

    Bogdan Ungureanu's Avatar

    Quoting
    "However, Hibernate does not support mixing , and <joined-subclass> and <union-subclass> mappings under
    the same root element". And I think it's closed.

Reply to this discussion

Preview Comments are parsed with Markdown. Help with syntax

Attached Files

    You can attach files up to 10MB

    What is the opposite of north?