This is a common issue. You need to define a @FetchGroup( ) for your class
that names that member then add the FetchGroup to your persistence manager.
@FetchGroup( name="children", members={
@Persistent(name="childcollection")
})
public class ....
//-------------------------------
PersistenceManager pm;
FetchPlan fp = pm.getFetchPlan();
fp.addGroup("children");
On Wed, Dec 2, 2009 at 9:50 AM, Avis developer <[email protected]>wrote:
> I tried using ArrayList in a persistent way, but its not getting
> persistent.. It adds the value when i call the add method, but for
> retriving it still says null..
> Is this a bug or my programming fault ? Pls help
>
> --
>
> 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 at
http://groups.google.com/group/google-appengine-java?hl=en.