add support for named queries
This commit is contained in:
Costin Leau
2011-07-12 22:31:54 +03:00
parent f40026a0e0
commit 9d1d15e5b6
2 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:gfe="http://www.springframework.org/schema/gemfire"
xsi:schemaLocation="http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"
default-lazy-init="true">
<gfe:cache />
<gfe:replicated-region id="simple" />
<bean id="template" class="org.springframework.data.gemfire.GemfireTemplate">
<property name="region" ref="simple"/>
</bean>
</beans>