NIHVIVO-3435 re-setting processImports(false)
This commit is contained in:
parent
672d9e6457
commit
2929e3228c
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,7 @@ import org.apache.commons.logging.LogFactory;
|
|||
import org.joda.time.DateTime;
|
||||
import org.joda.time.format.ISODateTimeFormat;
|
||||
|
||||
import com.hp.hpl.jena.ontology.OntDocumentManager;
|
||||
import com.hp.hpl.jena.ontology.OntModel;
|
||||
import com.hp.hpl.jena.query.Query;
|
||||
import com.hp.hpl.jena.query.QueryExecution;
|
||||
|
@ -35,6 +36,9 @@ public class JenaPersistentDataSourceSetup extends JenaDataSourceSetupBase
|
|||
public void contextInitialized(ServletContextEvent sce) {
|
||||
ServletContext ctx = sce.getServletContext();
|
||||
StartupStatus ss = StartupStatus.getBean(ctx);
|
||||
|
||||
// we do not want to fetch imports when we wrap Models in OntModels
|
||||
OntDocumentManager.getInstance().setProcessImports(false);
|
||||
|
||||
// user accounts Model
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue