datianshi/spring-gemfire-examples — pull request #1 by datianshi (2014-01-30 16:44:06+00:00)
Title: Fix the cast exception when run gemfire repository example

This is related to #5 issue.

The problem is the interface of repository is using set instead of list.

While in the SimpleGemfireRepository findAll is casting the list explicitly, so the interface of repository can not use set.
@Override
public Collection findAll() {
SelectResults results = template.find("select * from " + template.getRegion().getFullPath());
return (Collection)results.asList();
}