Fixes JIRA issue SGF-277 - OQL Join in Repository Interface.

This commit is contained in:
John Blum
2014-04-28 14:21:45 -07:00
parent edca5232a4
commit 8fd0b0bf6d
14 changed files with 470 additions and 39 deletions

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:gfe="http://www.springframework.org/schema/gemfire"
xmlns:gfe-data="http://www.springframework.org/schema/data/gemfire"
xmlns:repo="http://www.springframework.org/schema/data/repository"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd
http://www.springframework.org/schema/data/gemfire http://www.springframework.org/schema/data/gemfire/spring-data-gemfire.xsd
http://www.springframework.org/schema/data/repository http://www.springframework.org/schema/data/repository/spring-repository.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
">
<util:properties id="gemfireConfigurationSettings">
<prop key="name">RepositoryQueriesWithJoinsIntegrationTest</prop>
<prop key="log-level">config</prop>
<prop key="mcast-port">0</prop>
</util:properties>
<gfe:cache properties-ref="gemfireConfigurationSettings"/>
<gfe:replicated-region id="Customers" persistent="false" key-constraint="java.lang.Long"
value-constraint="org.springframework.data.gemfire.repository.sample.Customer"/>
<gfe:replicated-region id="Accounts" persistent="false" key-constraint="java.lang.Long"
value-constraint="org.springframework.data.gemfire.repository.sample.Account"/>
<gfe-data:repositories base-package="org.springframework.data.gemfire.repository.sample">
<repo:include-filter type="assignable" expression="org.springframework.data.gemfire.repository.sample.AccountRepository"/>
<repo:include-filter type="assignable" expression="org.springframework.data.gemfire.repository.sample.CustomerRepository"/>
</gfe-data:repositories>
</beans>