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

Invalidating L2 Cache on deletion for referenced OneToMany relations not working #30

Closed
wobu opened this issue May 17, 2013 · 1 comment
Labels
Milestone

Comments

@wobu
Copy link
Contributor

wobu commented May 17, 2013

When deleting a cached entity which is referenced by a OneToMany relation, an silently catched exception is thrown and also the entity which is containing the OneToMany relations isn't updated correctly.

Cause:
BeanDescriptor.cacheDelete() is calling BeanPropertyAssocOne.cacheDelete() with the wrong parameter.
It is using the DeleteRequest itself as parameter instead of deleteRequest.getBean().

@rbygrave
Copy link
Member

Thanks, I have applied this fix to 'master'.

ZerothAngel added a commit to ZerothAngel/zPermissions that referenced this issue Sep 7, 2014
rbygrave added a commit that referenced this issue Mar 7, 2023
Make SpringJdbcTransactionManager final, SpringJdbcTransaction not public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants