Hello Christofer, actually, you can say just nothing about primary keys in relationships and it'll work. Another way, is to give a name to unknown-pk field and use that field in relationship definition in jbosscmp-jdbc.xml. I just tried, both ways work.
alex Sunday, August 03, 2003, 2:26:45 PM, Christofer Dutz wrote: > Hi, > I am having another problem again. I have implementes several Beans to > use unknown primary-keys. > Now I wanted to let these entities be part of some Relations, but I > simply can't find out how to tell > JBoss to use the unknown primary key for CMR. I've tried ading some > BMP-Fields for accessing > the pk, but unfortunately it seems no BMP-fields are allowed to be part > of CMR. > How can I get Jboss to do, what I want? > Chris > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
