I've also struggled with a similar problem some time ago, and as far as I can remember, I introduced a workaround by adding a new PK column, which simply was an numeric id. This, of cource, is only possible if you have control over the database schema.
Kristoffer > Hi, > > I've read in the archives someone saying to use fkcmp="false" in the > cmp20 plugin to go around the jboss limitation that doesn't accept a > field to be both CMP and CMR. (which then results in duplicate column > names in the create table statements) > Although, that doesn't work for me, since this removes attributes from > my beans which are both primary key for that bean and a foreign key. > > Is there any other work-around for this? Mvh/regards, Kristoffer Moe Senior Consultant Elan It ReSource ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
