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