I have evicted by "sessionFactory.evictEntity"
| public void cleanSecondLevelCache(String[] entityNames){
| //entityName : com.package.name.ClassName
| for (String entityName : entityNames) {
| sessionFactory.evictEntity(entityName);
| }
| }
|
Thanks for your suggestion.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201221#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...