If you use code based mapping, reusing the same mapping is trivial. In HBM mapping it may be possible with external XML entities.
Would it be very much duplicated? /G On Dec 28, 2012, at 12:08 AM, Viktor Engelmann <[email protected]> wrote: > It seems to me that in the "component" approach you have to repeat the "class > definition" for every class that > has a B property? > I want to avoid code-duplication as much as possible..... > > -- > 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/-/hTvoduFShfAJ. > 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. -- 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.
