Unlike JDO, where you do have to explicitly close every PersistenceManager in order to keep resources from leaking, any unneeded DatastoreService instances should be automatically cleaned up by the garbage collector without having to explicitly close it, etc. If you go through the Javadoc, you won't see any close method.
- Jason On Thu, Oct 22, 2009 at 8:03 AM, iker98 <ike...@gmail.com> wrote: > > Jason, > Is not necessary to release o close the DatastoreService when the > datastore operations have finished? > > Thanks > > On Oct 19, 8:12 pm, "Jason (Google)" <apija...@google.com> wrote: > > Currently, most datastore examples use JDO, and the only official > > documentation available for the low-level API are the Javadocs that you > > linked to in your first post. It's a fairly straightforward API, however, > so > > you shouldn't need too much training. Just get a reference to a > > DatastoreService instance and use it to get and retrieve Entity objects: > > > > DatastoreService ds = DatastoreServiceFactory.getDatastoreService(); > > ... > > > > If you have any specific questions or find any descriptions confusing, > > please let me know and I'll be happy to work through these issues with > you. > > > > - Jason > > > > On Thu, Oct 15, 2009 at 1:45 PM, Iqbal Yusuf Dipu > > <iqbalyusufd...@gmail.com>wrote: > > > > > > > > > Hi, > > > > > Is there any online reference material with some examples available > > > for low-level api with datastore in Java without using JDO/JPA? The > > > main app engine site has only reference to api doc for datastore. > > > > >http://code.google.com/appengine/docs/java/javadoc/com/google/appengi. > .. > > > > > 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 google-appengine-java@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 -~----------~----~----~----~------~----~------~--~---