Re: [hibernate-dev] 2nd-level cache suggestions

2008-04-01 Thread Alex Besogonov
Max Rydahl Andersen wrote: 1. I think it's possible to add a manual collection cache entry update in the postAction() callback. And it'll probably work. How would you ensure that the cache is consistent ? Not a problem. Dirty extra lazy collections are already evicted from the cache during the

Re: [hibernate-dev] 2nd-level cache suggestions

2008-04-01 Thread Max Rydahl Andersen
> I propose the following solutions: > > 1. I think it's possible to add a manual collection cache entry update > in the postAction() callback. And it'll probably work. How would you ensure that the cache is consistent ? "extra lazy collections" is kinda opposite to what "cached collections" is