Glen, This is the backoffice (struts) so it does not use the cache. This used to work prior to eclipselink, maybe there is some setting we need to update on the EntityManager. This is pretty basic stuff..........
Cheers Greg On 29 July 2013 12:25, Glen Mazza <glen.ma...@gmail.com> wrote: > OK, I'll check, but what happens if you go to the Roller maintenance tab > and click on "Flush blog" (that will normally empty out the cache) -- > problem solved then? > > Note I had to bring back your changes after the move to fewer modules, I > might have missed something. > > Glen > > On 07/29/2013 07:20 AM, Greg Huber wrote: > >> Glen, >> >> Can you test whether you can delete a media file folder? ie add a folder >> and then try and delete it. For me it seems to delete it OK but when you >> refresh the media file folder view it is still there. If I then shut down >> tomcat and restart it is gone. It seems something to do with its cache? >> >> checking: >> >> public Query getNamedQuery(String queryName) >> .... >> q.setFlushMode(FlushModeType.**COMMIT); >> >> it sets the query to flush on commit, which should in theory flush the >> query cache when the transaction is committed. >> >> Is there some callback method we need to call to get it to flush? >> >> >> Cheers Greg >> >> >