Hi Marcin,
RefreshQuery built that way, unlike its predecessor
InvalidateListCacheQuery, doesn't do pattern matching on the names.
This was a bit inefficient. Instead it does exact match on the cache
group names. One or more cache groups are assigned explicitly by a
user of the original query, and is separate from the query name:
SelectQuery q = ..
q.setCacheGroups(new String[] {"dogs", "cats"});
Andrus
On Sep 21, 2006, at 5:21 AM, Marcin Skladaniec wrote:
Hello
I'm performing refresh query like this:
new RefreshQuery(new String[] {I:some_package_SomeClass.*} )
and after that SelectQuery with name
"I:some_package_SomeClass:someField", but the result records aren't
as expected.
(someField indicates ordering)
Using RefreshQuery(query) or RefreshQuery(persistent) works.
Does anyone have clues what I am doing wrong ?
Marcin
-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001