[jboss-user] [JBoss Cache: Core Edition] - Re: how to avoid database query on cache miss

manik.surtani@jboss.com do-not-reply at jboss.com
Tue Jan 13 11:29:53 EST 2009


That's a pretty specialized case.  You could write your own cache loader which extends the JDBCCacheLoader, and does nothing for the get() operations.  

As for loading data on startup, you could use the preload configuration element for this.

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

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



More information about the jboss-user mailing list