[jboss-user] [JBossCache] - Re: performance issue with JDBCCacheLoader

manik.surtani@jboss.com do-not-reply at jboss.com
Tue Jul 31 06:12:25 EDT 2007


A find() will load the Pojo, potentially from the cache loader.  Nodes are stored in the DB (when using the jdbc cache loader) as blobs, so that blob lookup is necessary to recreate the node in the cache, and then the Pojo before returning the Pojo when calling find().

Perhaps what you need is something like pojoExists() - which may perform a number of cache.hasChild() calls (which in turn calls a number of loader.exists() calls) on the components that make up the Pojo?





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

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



More information about the jboss-user mailing list