Nobody knows the answer to this? On Feb 7, 2:34 pm, hsjawanda <hsjawa...@gmail.com> wrote: > Should the PersistenceManager be closed after every query? > > I have a utility class that handles querying the datastore. This class > then returns results which are used by JSP pages to show output. > > AFAIK, these are my options: > > * Make all my data objects detachable (what is the extra cost of doing > this? Don't they have to be copied when detaching? > ) > * Make a second call on the utility class to close the PM (defeats the > purpose of having the utility class) > > * Leave my PM unclosed (what is/are the implications of this?) > > I am referring to a case where I am only doing reads from the data > store. > > Regards, > Harshdeep
-- 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.