Hello Aswath, I use JPA, but in your jdo config file, add the following property:
<property name="datanucleus.appengine.allowMultipleRelationsOfSameType" value="true" /> This will get rid of that error for you. I hope it works for JDO because in JPA, although it stores multiple relationships properly, I find that loading it is not working. It actually loads duplicates of one of the objects and ignores the other one completely. So please check yours to make sure yours is not a duplicated! On Feb 14, 8:38 am, aswath satrasala <[email protected]> wrote: > public class Party { > @PrimaryKey > @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) > @Extension(vendorName="datanucleus", key="gae.encoded-pk", value="true") > private String id; > @Persistent > private PartyUserLogin userLogin; > > @Persistent > private List<PartyUserLogin> collaborators; > > @Persistent > private List<PartyUserLogin> viewers; > > } > > I write a simple test case and I get the following error > > Error in meta-data for com.veersoft.party.Party.userLogin: Class > com.veersoft.party.Party has multiple relationship fields of type > com.veersoft.party.PartyUserLogin: userLogin and collaborators. This is not > yet supported. > > When will this be supported? > > -Aswath -- 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.
