Hi Walter,
this depends on your target architecture. If all your entities have a technical id with the same datatype, then you can delete them from your PIM and handle them as a PSM aspect in the templates. We included them in the model because some people prefer to model their keys precisely. You find a more elaborate example of this in the 3.x EJB cartridge. This cartridge has the ability to handle keys that consist of more than one attribute. Cheers... Matthias --- Urspr�ngliche Nachricht --- Datum: 20.01.2004 11:30 Von: "Walter Mour�o" <[EMAIL PROTECTED]> An: <[EMAIL PROTECTED]> Betreff: [Andromda-devel] hibernate id-PIM or PSM > A small conceptual question: > > Is the hibernate id (the needed primary key) part of the PSM ? (I think > so, since the model does not need it) > > if so, should we add the id attribute ( <<PrimaryKey>> ) to the classes > (as we do) or should the AndroMDA template do it ? > > thanks, > > --------------------------------------------------------------------------- > Walter Itamar Mour�o - Diretor de Tecnologia e Projetos - Arcadian S/A > www.arcadian.com.br > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Andromda-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/andromda-devel > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
