VIVO-82 Use ModelAccess to get or set the JenaOntModel (Union Full model)
This commit is contained in:
parent
4e4384bd3e
commit
6a4c7ba6fc
4 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
|||
<select name="workflowURI">
|
||||
|
||||
<%
|
||||
OntModel jenaOntModel = ModelAccess.on(getServletContext().getJenaOntModel();
|
||||
OntModel jenaOntModel = ModelAccess.on(getServletContext()).getJenaOntModel();
|
||||
jenaOntModel.enterCriticalSection(Lock.READ);
|
||||
try {
|
||||
List savedQueries = (List) request.getAttribute("workflows");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue