@Override
public LDCachingConnection getCacheConnection(String resource) throws RepositoryException {
try {
LDCachingKiWiSailConnection sailConnection = sail.getConnection();
return new LDCachingSailRepositoryConnection(repository,sailConnection,cacheContext);
} catch (SailException e) {
throw new RepositoryException(e);
}
}