cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Setting value for Primary key
Date Fri, 12 Aug 2011 07:40:11 GMT
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


Mime
View raw message