private synchronized Configuration getNoCacheConfiguration() {
if (noCacheConfiguration == null) {
// create a clone of the regular configuration
noCacheConfiguration = (Configuration) getConfiguration().clone();
// set this one to not use cache
noCacheConfiguration.setCacheStorage(new NullCacheStorage());
}
return noCacheConfiguration;
}