[appengine-java] Re: problem in retrieving arraylist from database
Not bothered putting the List field in the fetch group, so it isn't fetched. There are many posts on this forum on how to do that -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: problem in retrieving arraylist from database
@datanucleus Thanks for your reply. I am new to jdo and app engine. I had no idea about fetch. I searched for it and after adding @Persistent(defaultFetchGroup = "true") for arraylist my program is working according to my requirements. Thanks for your guidance @Michael Chan Thanks for your reply. arraylist is unavoidable for me. On Dec 24, 7:34 pm, datanucleus wrote: > Not bothered putting the List field in the fetch group, so it isn't > fetched. There are many posts on this forum on how to do that -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: problem in retrieving arraylist from database
use this @Persistent(defaultFetchGroup="true") ArrayList listval= new ArrayList(); i guess this ll solve ur problem & try u read about fetchgroup for a better understanding -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.