Maybe have an option in Cayenne Modeler to map/expose PKs in ObjEntity? I suspect people are poking around in CM to figure out why it isn't there and if they see an option they can select, that might help a lot.
mrg On Fri, Aug 12, 2011 at 4:33 AM, Aristedes Maniatis <[email protected]> wrote: > On Fri Aug 12 17:40:11 2011, Andrus Adamchik wrote: >> >> Cayenne does allow user to have meaningful PK. In the Modeler map an >> ObjAttribute for your PK DbAttribute, and you should be all set. >> >> Andrus >> >> >> On Aug 12, 2011, at 10:28 AM, amulya rattan wrote: >> >>> Hi All, >>> >>> Why doesn't cayenne allow user to be able to set the primary key value by >>> themselves? Whatever attribute is set as a primary key, doesn't appear in >>> the classes generated by Cayenne. What's the reasoning behind this? Any >>> response is appreciated. >>> >>> ~Amulya > > We need to make this section of the manual much bigger and clearer in the > new docbook version. I'd say this is the number one question on this list. > > Ari > > -- > --------------------------> > Aristedes Maniatis > GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A >
