NIHVIVO-1708 setting correct dataset factories in parent dao factories with SDB
This commit is contained in:
parent
6f02a04a8b
commit
5fb08f8062
2 changed files with 4 additions and 1 deletions
|
@ -103,7 +103,7 @@ public class WebappDaoFactoryJena implements WebappDaoFactory {
|
|||
|
||||
private Map<String,String> properties = new HashMap<String,String>();
|
||||
|
||||
private DatasetWrapperFactory dwf;
|
||||
protected DatasetWrapperFactory dwf;
|
||||
|
||||
// for temporary use to construct URIs for the things that still use integer IDs.
|
||||
// As these objects get changed to support getURI(), this should become unnecessary.
|
||||
|
|
|
@ -32,6 +32,7 @@ public class WebappDaoFactorySDB extends WebappDaoFactoryJena {
|
|||
public WebappDaoFactorySDB(OntModelSelector ontModelSelector, Dataset dataset) {
|
||||
super(ontModelSelector);
|
||||
this.dwf = new StaticDatasetFactory(dataset);
|
||||
super.dwf = new StaticDatasetFactory(dataset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -47,6 +48,7 @@ public class WebappDaoFactorySDB extends WebappDaoFactoryJena {
|
|||
String[] preferredLanguages) {
|
||||
super(ontModelSelector, defaultNamespace, nonuserNamespaces, preferredLanguages);
|
||||
this.dwf = new StaticDatasetFactory(dataset);
|
||||
super.dwf = new StaticDatasetFactory(dataset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -63,6 +65,7 @@ public class WebappDaoFactorySDB extends WebappDaoFactoryJena {
|
|||
String[] preferredLanguages) {
|
||||
super(ontModelSelector, defaultNamespace, nonuserNamespaces, preferredLanguages);
|
||||
this.dwf = new ReconnectingDatasetFactory(bds, storeDesc);
|
||||
super.dwf = new ReconnectingDatasetFactory(bds, storeDesc);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue