We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keesun Baik opened SPR-8708 and commented
http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/cache.html
In this documents, 28.4.2's example code has some bugs.
[xml] <bean id="cacheManager" class="org.springframework.cache.ehcache.EhcacheCacheManager" p:cache-manager="ehcache"/>
<!-- Ehcache library setup --> <bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:config-location="ehcache.xml"/> [/xml]
This code should be fixed like below.
[xml] <bean id="cacheManager" class="org.springframework.cache.ehcache.EhcacheCacheManager" p:cacheManager-ref="ehcache"/>
<!-- Ehcache library setup --> <bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:configLocation="ehcache.xml"/> [/xml]
Affects: 3.1 M2
The text was updated successfully, but these errors were encountered:
Keesun Baik commented
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhcacheCacheManager" p:cacheManager-ref="ehcache"/>
=>
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager" p:cacheManager-ref="ehcache"/> Sorry, There was a miss-spelling.
Sorry, something went wrong.
Costin Leau commented
Actually only cache-manager-ref needs to be changed - the p: namespace understands camel case expressed through the dash (-).
Yes, That's right. Only the cache-manager needs to be fixed.
No branches or pull requests
Keesun Baik opened SPR-8708 and commented
http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/cache.html
In this documents, 28.4.2's example code has some bugs.
[xml]
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhcacheCacheManager" p:cache-manager="ehcache"/>
<!-- Ehcache library setup -->
<bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:config-location="ehcache.xml"/>
[/xml]
This code should be fixed like below.
[xml]
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhcacheCacheManager" p:cacheManager-ref="ehcache"/>
<!-- Ehcache library setup -->
<bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:configLocation="ehcache.xml"/>
[/xml]
Affects: 3.1 M2
The text was updated successfully, but these errors were encountered: