[infinispan-dev] When do you use JdbcStringBasedCacheStore instead of JdbcBinaryCacheStore? And viceversa?

Galder Zamarreno galder at redhat.com
Thu Jan 14 06:18:30 EST 2010


Hi,

I'm reading the javadoc of JdbcStringBasedCacheStore and 
JdbcBinaryCacheStore but I don't understand the difference between them two:

JdbcStringBasedCacheStore stores each cache entry within a row but can 
also store non-string keys.

JdbcBinaryCacheStore stores each bucket as a row in the database but can 
also store non-string keys.

So, if both support non-string keys, when do you use one versus the other?

Cheers,
-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache



More information about the infinispan-dev mailing list