Hi,

So the problem is that reverse engineering of relationships doesn't work, right? If that's the case, could you doublecheck that you have foreign key constraints defined properly in the database. Otherwise Cayenne won't be able to guess the relationships correctly.

Also there may be a problem with MySQL - Cayenne prior to 3.0 assumed that MySQL does not support FK constraints and simply ignored their existence. So if you are indeed on MySQL you may try using Cayenne 3.0 M1.

Andrus



On Aug 14, 2007, at 3:33 AM, fahimeh safdariyan wrote:
I want to create classes with cayenne modeler with all off their
relationship after click Generate Classes in modeler ,is it possible??????
I try it but i cant create their relations ,i want it recognizes their
relation from DB.i dont want to create relationship manualy with
modeler.iwant by reengineer data base schema  and generate classes
relationship also
be created.
plz help me .if there is any way to solve my problem plz reply to my email.

sorry for bad english.

Reply via email to