I tried but since MemberA is a different class than ClassA it does not seem to work. It says that the class of MemberA is not mapped (when doing the back relation in class X)...
On 02.10.2008 12:13, Tuna Toksöz wrote: > I didn't get but can it be "component"? > http://www.hibernate.org/hib_docs/nhibernate/html/components.html > > On Thu, Oct 2, 2008 at 1:11 PM, Victor Toni <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Hi All, > > sorry for the confusing title. > > I have a given data model where there is a > > ClassA.MemberA.X > ClassA.MemberA.Y > > It would be easy if X and Y would be member of ClassA (<many-to-one>, > <one-to-one>) but how can it be done with the members? > > The tables look something like this > > CLASS_A: > id, ... > > CLASS_X: > id, a_id, ... > > CLASS_Y: > id, a_id, ... > > > Any suggestion? > > Kindest regards, > Victor > > > > > > -- > Tuna Toksöz > > Typos included to enhance the readers attention! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. 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 -~----------~----~----~----~------~----~------~--~---
