[jboss-user] [JBossCache] - JDBCCacheLoader does not delete item from table

gmeroz do-not-reply at jboss.com
Wed Jun 13 04:43:17 EDT 2007


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



More information about the jboss-user mailing list