users@glassfish.java.net

Clear toplink cache from command line

From: <glassfish_at_javadesktop.org>
Date: Wed, 30 Jun 2010 12:16:34 PDT

We've got a read mostly application whose database gets updated via an external script once every few weeks or so, but toplink's cache is enabled so none of those updates are visible to the application. Restarting the server clears the cache, but it's down right tacky to be doing that all the time, does anyone know of another asadmin command I can run which will clear the cache?

Failing that, any advise on developing an mbean to do it?

Thanks,
Loren
[Message sent by forum member 'loren_']

http://forums.java.net/jive/thread.jspa?messageID=476445