cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Primary Keys Issue
Date Wed, 02 Jun 2010 13:31:17 GMT
Hi there,

You will need to check "Meaningful PK" check box when doing reverse- 
engineering.

Andrus

On Jun 2, 2010, at 9:23 AM, Sopot Çela wrote:

> Hello all,
>
> I have an issue. I have CayenneModeller import a database structure  
> from a MySQL database. When I generate the classes I want that *all*  
> the classes have also the primary key field. Surely I can do it  
> manually for every table, that is, add an attribute and relate it to  
> the primary key but I want this to be done automatically.
>
> Thanks in advance for any help.
> Sopot
>
>


Mime
View raw message