Steps to disable flush cache:
- Edit $JBOSS_HOME/server/$JBOSS_CONFIG/conf/jboss-service.xml
- Then change the value of DefaultCacheTimeout and DefaultCacheResolution to "0"
Question: is there any impact on our application if we set DefaultCacheTimeout to 0.