How to invalidate / refresh a domain instance association?
Posted
by Kimble
on Stack Overflow
See other posts from Stack Overflow
or by Kimble
Published on 2010-03-17T18:02:02Z
Indexed on
2010/03/17
23:31 UTC
Read the original article
Hit count: 278
There is a bug in Grails preventing me from using removeFrom* when the node I'm trying to remove is extending the collection type. Removing the node directly from the association won't update the second level cache.
A hasMany B
Is there any way to manually invalidate or force a reload on an association cache? Invoking refresh() on the many side didn't do the trick.
© Stack Overflow or respective owner