I'm not sure why. If it's a problem for you, it can be switched off with the fkcmp flag in <cmp20> task i believe:
http://boss.bekk.no/boss/middlegen/plugins/cmp20.html#fkcmp .eivind On Tue, 10 Dec 2002, Jon Finanger wrote: > I'm in the process of converting my 100+ tables database to CMP. > One little question: > When i lokk at the generated code the foreign key fields have two methods. one that >returns the primary type (eg. int) and another > that returns the referenced bean. Why not only the last? > > -Jon > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > middlegen-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user