spring-projects/spring-gemfire-examples — pull request #6 by datianshi (2014-01-30 18:39:10+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();
}