hi,
I tried executing a query on replicated region and I got this exception:
The same query works fine if I use client region. It also works if I use QueryService created from the same cache as the replicated region i.e.Code:org.springframework.data.gemfire.GemfireQueryException: Syntax error in query: unexpected token: select; nested exception is com.gemstone.gemfire.cache.query.QueryInvalidException: Syntax error in query: unexpected token: select ... Caused by: com.gemstone.gemfire.cache.query.QueryInvalidException: Syntax error in query: unexpected token: select
Are you aware of this? It looks like a bug.Code:SelectResults result = (SelectResults) cache.getQueryService().newQuery(query).execute();
Regards,
Dariusz


Reply With Quote