Hi Andrus,
no, ...
as ORM, cayenne generates an object-tree.
In traditional tree-Objects every node
has an information about its parent object.
If I'm within a relation, this could be found via the reverse-relation.
My Problem is, that within the DataObject I have no Information
about the place in hierchie in the actual Xobject.
I don't know if it's the root-object or in a relation
what would be helpful in the validate or something like this.
I solved the problem with an enhanced DataObject
and a special List for the Relation-Objects,
but wanted to be sure that haven't overlooked
someting in cayenne doku.
---Juergen---
cayenne-use..bjectstyle.org schrieb am 23.06.05 15:49:32:
>
>
> Hi Juergen,
>
> Looks like what you are looking for is bi-directional object
> relationships. Or is this something else?
>
> Andrus
>
> On Jun 23, 2005, at 2:33 AM, Jürgen Saar wrote:
>
> > Hi,
> >
> > is there a way to find out,
> > what parent object belongs to my DataObject?
> >
> > Sometimes it would be helpful to know
> > where within the object-tree my actual
> > DataObject belongs.
> >
> >
> > Thanx
> > ---Juergen---
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
This archive was generated by hypermail 2.0.0 : Fri Jun 24 2005 - 08:52:27 EDT