I get a great answer on the Stack Overflow page.

Thank you.

El sábado, 28 de abril de 2012 09:10:21 UTC-4:30, Jesus Bracamonte escribió:
>
> Using the table per concrete class strategy, I have found that the parent 
> collections are *not* associated with the subclasses, I explain dipper my 
> problem and put an example in  
> This<http://stackoverflow.com/questions/10319589/nhibernate-constraints-associations-of-a-parent-class-are-dropped-on-the-subclas>
>   Stack Overflow question. 
>
> But here is a quick example of the problem
>
> classes:
>
> class A{
>     ISet<foo> foos;
> }
>
> class B: A {
>
> }
>
> Mappings:
>
> <class name="A">
>       <Set name="foos" inversed="true">
>         <key column="fooId"/>
>         <one-to-many class="foo">
>       <Set>
> </class>
>
> <union-subclass name="B" extends="A">
>    
> </union-subclass>
>
> Any advice or help that you can provide me will be much appreciated.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/nij3AU7Nf14J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to