cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Schmidt <>
Subject Relationships without FK constraints?
Date Fri, 27 Mar 2009 16:30:57 GMT

Can Cayenne work (consistently) with relationships where the underlying foreign key constraint
is missing? (e.g. when the fields for foreign key are there and respect the standard naming
convention - artist_id for the relationship pointing to artists but the constraint is not
set ?

I tried to reverse engineer such databases, but if the FK constraints are missing, Cayenne
Modeler doesn't seem to recognize them (despite of the naming convention) :(.
It looks like many existing databases don't use the FK constraints (only the naming convention
- e.g. all RoR and similar frameworks based applications).



View raw message