Add usePreciseSubqueries property to example.runtime.properties. Have RDFServiceTDB report a preference for precise optionals as does SDB.

This commit is contained in:
Brian Lowe 2021-03-29 16:17:37 +03:00
parent 193b38159a
commit ff8ba8adcc
2 changed files with 16 additions and 0 deletions

View file

@ -93,6 +93,10 @@ public class RDFServiceTDB extends RDFServiceJena {
}
}
@Override
public boolean preferPreciseOptionals() {
return true;
}
@Override
public void close() {

View file

@ -70,6 +70,18 @@ VitroConnection.DataSource.dbtype = MySQL
VitroConnection.DataSource.driver = com.mysql.jdbc.Driver
VitroConnection.DataSource.validationQuery = SELECT 1
#
# Include sections between <precise-subquery></precise-subquery>
# tags when executing 'list view' queries that retrieve data
# for property lists on profile pages.
#
# Including these optional sections does not change the query
# semantics, but may improve performance.
#
# Default is true if not set.
#
# listview.usePreciseSubquery = true
#
# The email address of the root user for the VIVO application. The password
# for this user is initially set to "rootPassword", but you will be asked to