removed obsolete RDB migration method, which was getting called at inappropriate times
This commit is contained in:
parent
e3c6cc1640
commit
4d30fc58c3
1 changed files with 0 additions and 11 deletions
|
@ -71,8 +71,6 @@ implements javax.servlet.ServletContextListener {
|
||||||
if (!isSetUp(store)) {
|
if (!isSetUp(store)) {
|
||||||
JenaPersistentDataSourceSetup.thisIsFirstStartup();
|
JenaPersistentDataSourceSetup.thisIsFirstStartup();
|
||||||
setupSDB(ctx, store);
|
setupSDB(ctx, store);
|
||||||
}else{
|
|
||||||
migrateToSDBFromExistingRDBStore(ctx, store);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -192,15 +190,6 @@ implements javax.servlet.ServletContextListener {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void migrateToSDBFromExistingRDBStore(ServletContext ctx,
|
|
||||||
Store store) {
|
|
||||||
Model rdbAssertionsModel = makeDBModelFromConfigurationProperties(
|
|
||||||
JENA_DB_MODEL, DB_ONT_MODEL_SPEC, ctx);
|
|
||||||
Model rdbInferencesModel = makeDBModelFromConfigurationProperties(
|
|
||||||
JENA_INF_MODEL, DB_ONT_MODEL_SPEC, ctx);
|
|
||||||
setupSDB(ctx, store, rdbAssertionsModel, rdbInferencesModel);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copy all statements from model 1 that are not in model 2 to model 3.
|
* Copy all statements from model 1 that are not in model 2 to model 3.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue