Hi, Joe RefreshQuery is another type of query and is used to invalidate individual cache groups explicitly. To create ObjectSelect with similar behavior you can set cacheStrategy to QueryCacheStrategy.LOCAL_CACHE_REFRESH or QueryCacheStrategy.SHARED_CACHE_REFRESH, depends on what type of cache you are using. Analog of setCacheStrategy for ObjectSelect is ObjectSelect.cacheStrategy(QueryCacheStrategy strategy).
On Mon, Jul 1, 2019 at 10:24 PM Joe Baldwin <jfbald...@earthlink.net> wrote: > Arseni, > > What is the ObjectSelect analog to > > RefreshQuery > and > setCacheStrategy > > Thanks > Joe > > > > On Jun 28, 2019, at 9:47 AM, Arseni Bulatski <abulat...@objectstyle.com> > wrote: > > > > Hi all, > > > > SelectQuery is planned to be deprecated in 4.2. > > ObjectSelect has better api and is recommended to use. > > > > PR: https://issues.apache.org/jira/browse/CAY-2523 > > > > Please, write your thoughts about it. > >