-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importin: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Oliver Drotbohm opened SPR-8871 and commented
Currently the condition attribute of the @Cacheable annotation does not allow referring to the value returned by the method invocation. Thus, it's impossible to define something along "don't cache null values returned from the method invocation".
Affects: 3.1 RC1
Issue Links:
- Using Spring beans as a part of key in cache annotations (@Cacheable etc.) doesn't work [SPR-9578] #14212 Using Spring beans as a part of key in cache annotations (
@Cacheableetc.) doesn't work
Referenced from: commits 8c2ace3
12 votes, 10 watchers
Metadata
Metadata
Assignees
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importin: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement