Re: [appengine-java] Re: owned relationship ? - could it be a bug

2010-03-04 Thread aswath satrasala
Hello GAE team, Can you please look into this and let me know what is wrong in the test case. Similar tests fail are happening in my other test cases with similar relations. Thanks -Aswath On Mon, Feb 22, 2010 at 2:57 PM, aswath satrasala < aswath.satras...@gmail.com> wrote: > I am creating two

Re: [appengine-java] Re: owned relationship ? - could it be a bug

2010-02-22 Thread aswath satrasala
I am creating two instances of B. In the first instance, I am making it as a child of A. In the second instance, it is by itself. The second instance cannot persist itself. Hence, I am raising this issue and thinking it as a bug. Is the owned-relationship at the class level? I think it is at th

[appengine-java] Re: owned relationship ? - could it be a bug

2010-02-22 Thread Payam
Hmm... If JDO does not allow unowned relationships, then when you are trying to persist B inside A, then trying to persist B by itself, are you not declaring that B is actually unowned? In this case, A can not actually hold onto B directly and can only hold its Key instead. When I read the documen

Re: [appengine-java] Re: owned relationship ? - could it be a bug

2010-02-21 Thread aswath satrasala
Hello Payam Thanks for looking into this. Please see inline On Sun, Feb 21, 2010 at 3:25 PM, Payam wrote: > Hello Aswath, > > What you are doing seems really odd to me. From my understanding a > Datastore Key consists of multiple components. > "A complete key includes several pieces of informat

[appengine-java] Re: owned relationship ? - could it be a bug

2010-02-21 Thread Payam
Hello Aswath, What you are doing seems really odd to me. From my understanding a Datastore Key consists of multiple components. "A complete key includes several pieces of information, including the application ID, the kind, and an entity ID" - GAE Docs If you use encoded key strings, you can get

[appengine-java] Re: owned relationship ? - could it be a bug

2010-02-16 Thread aswath satrasala
any help on this please... Thanks. On Fri, Feb 12, 2010 at 3:18 PM, aswath satrasala < aswath.satras...@gmail.com> wrote: > Hello Ikia > As suggested by you in the thread 'Incorrect number of entities returned', > I have attached the complete files in my previous email. > Please let me know, wha

[appengine-java] Re: owned relationship ? - could it be a bug

2010-02-12 Thread aswath satrasala
Hello Ikia As suggested by you in the thread 'Incorrect number of entities returned', I have attached the complete files in my previous email. Please let me know, what am I doing wrong here. Thanks -Aswath On Tue, Feb 9, 2010 at 3:06 PM, aswath satrasala wrote: > Hello Ikai, > Attached is the z

[appengine-java] Re: owned relationship ? - could it be a bug

2010-02-05 Thread aswath satrasala
B list is missing from class A in my previous posting. Here is the complete A class... @PersistenceCapable(identityType = IdentityType.APPLICATION) public class A { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension(vendorName = "datanucleus", key="gae.en