Skip to content
New issue

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

Wrong metadata name in Spring documentation : 28.3.1.4 Available caching SpEL evaluation context [SPR-8938] #13578

Closed
spring-projects-issues opened this issue Dec 16, 2011 · 1 comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Alexander Derenbach opened SPR-8938 and commented

In table 28.1. in the actual documentation there is a SpEL field #root.params listed. The fields is actualy named args in class CacheExpressionRootObject.

@Cacheable(value="databaseCache",key="{#root.methodName,#root.args}")
public test(Long t1) {
}

will work.


Affects: 3.1 GA

Referenced from: commits e9ab1a7

@spring-projects-issues
Copy link
Collaborator Author

Costin Leau commented

Thanks for the report.

Updated the docs and also added a# alongside p# as a way to specify params.

#9

@spring-projects-issues spring-projects-issues added in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.1.1 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant