コード例 #1
0
 /* (non-Javadoc)
  * @see org.openrdf.repository.RepositoryConnectionTest#createRepository()
  */
 @Override
 protected Repository createRepository() throws Exception {
   config.setDefaultContext(null);
   KiWiStore store = new KiWiStore(config);
   store.setDropTablesOnShutdown(true);
   return new SailRepository(store);
 }
コード例 #2
0
 public EHCacheRepositoryConnectionTest(KiWiConfiguration config) {
   this.config = config;
   config.setClustered(false);
   config.setCachingBackend(CachingBackends.EHCACHE);
 }