[jbosscache-dev] JDBCCacheLoader drop table - true by default??

Galder Zamarreno galder.zamarreno at redhat.com
Fri Oct 5 12:02:07 EDT 2007



Manik Surtani wrote:
>  From AdjListJDBCCacheLoaderConfig.setProperties():
> 
>    prop = props.getProperty("cache.jdbc.table.drop");
>    this.dropTable = (prop == null || Boolean.valueOf(prop));
> 
> Surely this isn't intended?  The impact of this is that if someone using 
> a JDBCCacheLoader doesn't specify cache.jdbc.table.drop = false, the 
> table is dropped every time the cache is stopped!!  So much for 
> persistent state!  :-)

faq: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheTroubleshooting

hehehehe, i once had a support case on this, hence me adding this to a 
wiki :)

> 
> Thoughts?
> -- 
> Manik Surtani
> 
> Lead, JBoss Cache
> JBoss, a division of Red Hat
> 
> 
> 
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev

-- 
Galder Zamarreño
Sr. Software Maintenance Engineer
JBoss, a division of Red Hat



More information about the jbosscache-dev mailing list