See the section on "How Ordered Collections Maintain Their Order":
http://code.google.com/appengine/docs/java/datastore/relationships.html

<http://code.google.com/appengine/docs/java/datastore/relationships.html>-
Jason

On Mon, Sep 21, 2009 at 12:55 PM, Danny <[email protected]> wrote:

>
> class Container
> {
>    private List<Item> items;
> }
>
>
> i added 3 items to the list then i saved it. loaded the list back
> their position is saved and every
> thing works.
>
> now i want to change item 3 postition to be the first so i remove it
> and add it to the start
> then i save the container class. when i load back i still get the same
> position.
>
> how can i change the items location?(without deleting)
> please help, thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
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