5 Replies Latest reply on Jul 31, 2007 10:11 AM by jason.greene

    performance issue with JDBCCacheLoader

      i use version 2.0.0CR1 running inside JBoss AS with PojoCache.

      i have a senario where i need to check for a list of nodes which of them are in the cache already (so i'll know if i need to add them to the cache latter).

      to check if a node is in the cache i use cache.find(...), but those calls are expensive since they load a Blob from the DB.

      Is there a way to do something like Map.containsKey() ? which will run a cheaper query to the DB?