Thank you.

On Tue, Oct 5, 2010 at 3:55 PM, Didier Durand <durand.did...@gmail.com>wrote:

> Hello,
>
> See
> http://groups.google.com/group/google-appengine-java/browse_thread/thread/e19b792042b2ff9b
>
> and
> http://groups.google.com/group/google-appengine-java/tree/browse_frm/month/2010-04/8de23dea7100c586
>
> didier
>
> On Oct 5, 2:38 pm, Maxim Veksler <ma...@vekslers.org> wrote:
> > Hi,
> >
> > Can I do something like this:
> >
> > public class LowLevelDataStore {
> > private static DatastoreService datastore;
> >  private static FetchOptions LIMIT_1 = FetchOptions.Builder.withLimit(1);
> > static {
> >  datastore =
> DatastoreServiceFactory.getDatastoreService(withReadPolicy(new
> > ReadPolicy(Consistency.EVENTUAL)));
> >
> > }
> >
> > public static Iterable<Entity> getFOO(...) {
> > Query query... =
> >  new Query("...")
> > .addFilter("...", FilterOperator.EQUAL, ...)
> >  .addSort("...", SortDirection.ASCENDING);
> >  return datastore.prepare(query...).asIterable();
> >  }
> >
> > }
> >
> > Assuming I won't be using transactions ?
> > Assuming I will be using transactions?
> >
> > Couldn't find any clues in the javadoc / googling does not give
> meaningful
> > results as well.
> >
> > Thank you,
> > Maxim.
>
> --
> 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<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
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.

Reply via email to