Hi, > -----Original Message----- > From: Patrik Nordwall [mailto:patrik.nordw...@gmail.com] > > In the end bidirectional associations are evil. Should be avoided if > possible. Ask yourself if you really need to have them bidirectional. > Is it necessary to traverse from UserGroup to all users of the group?
In the end such operations are never necessary. But it would be a nice to have and easy to use. Imagine the creation of a new usergroup and simply add all desired users to it - without an OptimisticLockException. I bother more with the problem that I need to know the "save" direction of a bidirectional association. That's an internal detail the business logic shouldn't know. Regards, Sascha Broich -- Sascha Broich Development TSA - Teleport Sachsen-Anhalt Service GmbH Herrenstraße 20 - D-06108 Halle Tel: +49 39203 8 2524 - Fax: +49 39203 8 2511 E-Mail: sascha.bro...@tsa.de Firmensitz: Steinfeldstraße 5, D-39179 Barleben Niederlassung: Herrenstraße 20, D-06108 Halle Geschäftsführer: Marco Langhof, Thomas Patzelt Prokurist: Heiko Bosse Amtsgericht: Stendal HRB 6388 http://www.tsa.de ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer