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

Reply via email to