views:

18

answers:

0

I see from every example for the appengine datastore that it is important to surround query executions, etc with try{}finally{} blocks to ensure that queries are always closed.

What happens if a query or persistence manager isn't closed, but goes out of scope? Could an entity ever be made permanently inaccessible?