cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: Relationships Not Propagated
Date Thu, 17 Sep 2009 14:05:09 GMT
When you create a brand new ObjEntity from a DBEntity, it propagates
all attributes and relationships defined in the DBEntity except for
the primary key (Cayenne Modeler assumes you don't need that exposed).
 Once you've created the ObjEntity, though, adding a new relationship
to the DBEntity will not be automatically synced to the ObjEntity.
You have to sync it manually (click the double-arrow icon in either
the DBEntity or ObjEntity toolbar or use the Project menu or keyboard
shortcut).  I'm talking mainly about 3.0M6 since I no longer use the
2.x modeler and don't remember the exact specifics of how it behaves.

mrg


On Thu, Sep 17, 2009 at 3:46 AM, Jamie <jamie@stimulussoft.com> wrote:
> Hi Everyone
>
> I am really struggling to use the Cayenne Modelling tool. It seems whenever
> I create an ObjectEntity from the DBEntity the relationships are not always
> propagated. This happens even when I follow the ARTIST tutorial. I tried
> both Cayenne 3.0M6 and Cayenne 2.0.4 and the same behaviour is observed. Is
> this a known bug or am I likely doing something horribly wrong?
>
> Thank in advance
>
>
> Jamie
>
>
>

Mime
View raw message