Fabio, thanks for the quick answer. I hoped that it is implemented in 2.1, and was afraid that it is not implemented in 2.0 :-) I will not use 2.1 until it is officially released, because if there would be a problem, our team leader will kill me.
On 18 Mrz., 13:02, Fabio Maulo <[email protected]> wrote: > NH2.1.0Alpha2 (actual trunk) > > 2009/3/18 Stefan Steinegger <[email protected]> > > > > > > > Hi all. I'm trying to map a collection (bag) into a composite-element. > > Isn't this possible? > > > <class name="A" ...> > > > <bag name="B" table="A_B"> > > <key .../> > > <composite-element> > > <property .../> > > <bag name="C" table="A_B_C"> > > <key ..../>" > > <element .../> > > </bag> > > </composite-element> > > > </class> > > > If this is not possible, I have to turn "B" or "C" into a entity > > (providing id and version) which would be unnatural, because B and C > > are simple classes, almost like value types. Or is there another > > solution? Thanks a lot. > > -- > Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
