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 <jami..timulussoft.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
>
>
>
This archive was generated by hypermail 2.0.0 : Thu Sep 17 2009 - 10:05:42 EDT