[jboss-user] [JBoss Cache: Core Edition] - Re: Clean Hibernate Second Level Cache

repkin do-not-reply at jboss.com
Tue Jan 13 01:46:53 EST 2009


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#4201221

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201221



More information about the jboss-user mailing list