i use the following code to delete objects from the cache (configured with 
JDBCCacheLoader):


  | public void clear(String category) {
  |     for (Object key : cache.findAll(category).keySet()){
  |         cache.detach(((Fqn)key).toString());            
  |     }
  |     cache.getCache().getRoot().removeChild(Fqn.fromString(category));
  | }
  | 

but i see that some of the records are not deleted from the DB.
If i would like to add the undeleted objects latter.

How do i solve this?

i use version JBossCache-all-2.0.0.CR1

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053850#4053850

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053850
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to