Skip to content

Caching annotation on interface are ignored when cglib proxies are used [SPR-14343] #18915

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions