[appengine-java] Re: Sometimes arraylist stored in Datastore are not correctly retrieved

2011-06-10 Thread Nathan Stiles
That's really cool and flexible. I'm quite impressed. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/OYvt6ELYLVUJ. To post to this

[appengine-java] Re: Sometimes arraylist stored in Datastore are not correctly retrieved

2011-06-10 Thread cghersi
OK, thanks, I'll try with this trick... Bye cghersi On 10 Giu, 06:22, yuvi wrote: > Hi, > > My declarations are a bit different but I have seen this > happening > > GAE not loading the subitems by default in some cases, then if you > close the PersistenceManager, subitems List is null. > I

[appengine-java] Re: Sometimes arraylist stored in Datastore are not correctly retrieved

2011-06-10 Thread cghersi
@Nathan: I use ArrayList for a bounch of other properties in several other objects, and usually they are completely OK... On 10 Giu, 05:31, Nathan Stiles wrote: > I have almost 0 experience I'm just reading to learn a bit.  It seems rather > ambitious to store an ArrayList?  Maybe modifying your

[appengine-java] Re: Sometimes arraylist stored in Datastore are not correctly retrieved

2011-06-09 Thread yuvi
Hi, My declarations are a bit different but I have seen this happening GAE not loading the subitems by default in some cases, then if you close the PersistenceManager, subitems List is null. I have solved it by looping all items and subitems before closing the PersistenceManager On J

[appengine-java] Re: Sometimes arraylist stored in Datastore are not correctly retrieved

2011-06-09 Thread Nathan Stiles
I have almost 0 experience I'm just reading to learn a bit. It seems rather ambitious to store an ArrayList? Maybe modifying your "tags" to be an array would be more successful. You could probably keep your g/setters and modify them slightly. Then you have to convert exiting datastores. I d