-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Closed
Copy link
Labels
in: 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
James Howe opened SPR-14343 and commented
Unlike other annotations such as @Repository
or @Secured
, the caching annotations are ignored when making calls to a CGLib proxy via the interface in which they are defined.
See attached project for details.
Currently the test fails, but if @EnableAspectJAutoProxy(proxyTargetClass = true)
is removed then it passes.
Affects: 4.2.5
Attachments:
- example.7z (5.68 kB)
Issue Links:
- CGLIB proxies should still consider @Transactional annotations on interface methods [SPR-14322] #18894 CGLIB proxies should still consider
@Transactional
annotations on interface methods - Reliably detect @Cacheable declarations on interface methods [SPR-15271] #19836 Reliably detect
@Cacheable
declarations on interface methods
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement