I use JBoss 4 with cmp entity beans and commit option A. Everything works fine. Now I have sometimes to change some data directly on the database. So the values in the cache of JBoss become invalid. I do not want to change the commit option and I also do not want to restart JBoss. Is there a way to force JBoss to reload or clean its cache?
In 3.2.6, you can do this through JMX by invoking the flush() method on the appropriate EJB cache manager.