*/
@Override
protected Repository createRepository() throws Exception {
config.setDefaultContext(null);
final KiWiStore sail = new KiWiStore(config);
KiWiTransactionalSail tsail = new KiWiTransactionalSail(sail);
rsail = new KiWiReasoningSail(tsail, new ReasoningConfiguration());
Sail wsail = new SailWrapper(rsail) {
@Override
public void shutDown() throws SailException {
rsail.getEngine().shutdown(true);
try {
rsail.getPersistence().dropDatabase();
sail.getPersistence().dropDatabase();
} catch (SQLException e) {
fail("SQL exception while deleting database");
}
super.shutDown();