Jamie,
I have found that the behavior of the Modeler is sometimes linked to
the order in which you create ObjEntities and DbEntities.
I usually create the DbEntities first, then create the ObjEntities,
then create the relationships. Once I do this then I select the "sync"
button (Hover = "Sync Dependent ObjEntities with DbEntities") in the
DbEntity's dialog window (I do this for each DbEntity that I have
created).
This usually synchronizes the ObjEntities relationships with the
DbEntities relationships.
If I make significant changes to the DbEntities, then I always follow
up with using the sync button for *each* DbEntity.
The only time this has not worked for me is when I have made some sort
of mistake with defining the DbEntities.
There may be an easier way to do all this, but this has worked for me
so far.
Joe
On Sep 17, 2009, at 3:46 AM, Jamie 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:02:40 EDT