Yep, many to many relationships work well.  They can also be
polymorhic and use inheritance with no problems.

On May 3, 12:09 am, Michael Shtelma <[email protected]> wrote:
> Hi all,
>
> I have looked at twig, I liked it a lot, but there is one issue about many
> to many relationships. Does Twig support them?
>
> Sincerely,
> Michael Shtelma
>
> On Sun, Mar 28, 2010 at 5:25 PM, John Patterson <[email protected]>wrote:
>
>
>
> > There are alternatives: Twig, Objectify, SimpleDS, Slim3, Siena.  Take your
> > pick and get your app working today.
>
> > On 28 Mar 2010, at 21:47, Trung wrote:
>
> >  Hi GAE team,
>
> >> Any workarounds for this issue?
>
> >> Thanks
>
> >> On Feb 14, 8:55 am, Payam <[email protected]> wrote:
>
> >>> The problem is still not solved.
> >>> Although you can "persist" an object with multiple relations of the
> >>> same type. When you actually query the object, the retrieved object
> >>> has duplicates for the multiple relations.
> >>> As in, if I were to persist instances A, B inside C. When I query for
> >>> C, both objects retrieved will be A. There will be no B.
>
> >>> This is a serious bug!
>
> >>> On Jan 26, 4:54 pm, oth <[email protected]> wrote:
>
> >>>  Michael,
>
> >>>  In your jdoconfig.xml file add this entry:
>
> >>>  <property
> >>>> name="datanucleus.appengine.allowMultipleRelationsOfSameType"
> >>>> value="true"/>
>
> >>>  Thanks
>
> >>>  On Jan 26, 3:12 pm, Michael Shtelma <[email protected]> wrote:
>
> >>>  Hi all,
>
> >>>  I am also experiencing this problem on GAE 1.3.0.
> >>>>> Using multipleRelationsOfSameTypeAreErrors helps not in all cases,
> >>>>> when I am trying to read such entities I get mentioned exception.
> >>>>> Are the any solution for the 1.3.0 ?
>
> >>>  Thanks,
> >>>>> Michael
>
> >>>  On Jan 21, 9:20 am, cowper <[email protected]> wrote:
>
> >>>  Hi,
> >>>>>>  I have a similar issue with 1.3.0 however it arises when the types
> >>>>>> are the same and not related to inheritance of any type.
>
> >>>  The work around suggested doesn't seem to work. Is the workaround
> >>>>>> valid for 1.3.0?
>
> >>>  thx,
>
> >>>  Conor
>
> >>>  On Dec 4 2009, 9:52 pm, "Max Ross (Google)" <maxr
>
> >>>  [email protected]> wrote:
>
> >>>>>>> SDK 1.2.8 contains a new check that detects if one of your JDO or JPA
> >>>>>>> model
> >>>>>>> objects has two relationship fields of the same type.  For example:
>
> >>>  class A {
> >>>>>>>  List<B> bList;
> >>>>>>>  List<B> anotherBList;
>
> >>>  }
>
> >>>  Unfortunately I was a little too aggressive with this check, so the
> >>>>>>> following also run afoul of the check:
>
> >>>  abstract class B {}
>
> >>>  class C extends B {}
> >>>>>>> class D extends B {}
>
> >>>  class A {
> >>>>>>>  List<C> cList:
> >>>>>>>  List<D> dList;
>
> >>>  }
>
> >>>  If you get an exception that says
>
> >>>  Class XXX has multiple relationship fields of type YYYY.  This is not
> >>>>>>> yet
> >>>>>>> supported.
>
> >>>  and your class hierarchy resembles the one above, you can disable this
> >>>>>>> check
> >>>>>>> by with the following config property:
>
> >>>  <property
> >>>>>>> name="datanucleus.appengine.multipleRelationsOfSameTypeAreErrors"
> >>>>>>> value="true"/>
>
> >>>  We'll get this fixed shortly.
>
> >>>  Sorry for the trouble,
> >>>>>>> Max
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Google App Engine for Java" group.
> >> To post to this group, send email to
> >> [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected]<google-appengine-java%[email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-appengine-java?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine for Java" group.
> > To post to this group, send email to
> > [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine-java%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to