Releases: kbss-cvut/jopa
Releases · kbss-cvut/jopa
0.21.0
0.20.2
0.20.1
0.20.0
0.19.3
0.19.2
0.19.1
0.19.0
- Add support for disabling inference via query hints (Enhancement #101).
- Allow registering custom attribute converters (Enhancement #118).
- Add RDF4J driver, deprecate Sesame driver (Task #75).
- Dependency updates: SLF4J 2.0.3, Logback 1.3.4.
Both query hints and custom attribute converters are covered by the Wiki documentation.
Upgrade Notes
The Sesame driver (artifactId ontodriver-sesame
) has been deprecated. Its usage should be replaced by the new RDF4J driver (artifactId ontodriver-rdf4j
). It is currently functionally almost equivalent to the Sesame driver (with the exception of support for disabling inference for query execution). However, further development will focus on the new driver, so it is highly recommended to migrate to it.
To migrate, do the following:
1. Maven
Replace
<dependency>
<groupId>cz.cvut.kbss.jopa</groupId>
<artifactId>ontodriver-sesame</artifactId>
</dependency>
With
<dependency>
<groupId>cz.cvut.kbss.jopa</groupId>
<artifactId>ontodriver-rdf4j</artifactId>
</dependency>
2. Java
Replace the following class references
cz.cvut.kbss.ontodriver.sesame.SesameDataSource
->cz.cvut.kbss.ontodriver.rdf4j.Rdf4jDataSource
And the following properties:
cz.cvut.kbss.ontodriver.sesame.use-volatile-storage
->cz.cvut.kbss.ontodriver.rdf4j.use-volatile-storage
cz.cvut.kbss.ontodriver.sesame.use-inference
->cz.cvut.kbss.ontodriver.rdf4j.use-inference
cz.cvut.kbss.ontodriver.sesame.load-all-threshold
->cz.cvut.kbss.ontodriver.rdf4j.load-all-threshold
cz.cvut.kbss.ontodriver.sesame.repository-config
->cz.cvut.kbss.ontodriver.rdf4j.repository-config
cz.cvut.kbss.ontodriver.sesame.reconnect-attempts
->cz.cvut.kbss.ontodriver.rdf4j.reconnect-attempts
cz.cvut.kbss.ontodriver.sesame.inference-in-default-context
->cz.cvut.kbss.ontodriver.rdf4j.inference-in-default-context
or switch from the SesameOntoDriverProperties
constants to Rdf4jOntoDriverProperties
constants (note that they do not have the SESAME_
prefix).