Releases: kbss-cvut/jopa
Releases · kbss-cvut/jopa
1.1.4
1.1.3
1.1.2
- Fix missing processing of connection pool configuration in RDF4J driver.
- Disambiguate classes of the same name in OWL2Java using a default suffix (Bug #199).
- Modify JOPA Maven plugin parameter mapping so that it does not confuse IDEs (GH #198).
- Provide access to entity class namespace detection (Enhancement #196).
- Dependency updates: RDf4J 4.3.6.
1.1.1
- Fix a possible deadlock in case RDF4J's HTTP client connection pool is exhausted by concurrent requests (Bug #191). Added an explanation of connection pooling in RDF4J driver to the wiki.
- Introduce a marker
@Property
annotation used on all OWL property mapping annotations. - Dependency updates: AspectJ 1.9.20, RDF4J 4.3.5.
1.1.0
- Add support for MEMBER OF in SOQL/Criteria API (Enhancement #176).
- Support language matching in SOQL/Criteria API (Enhancement #161).
- Allow declaring multiple (or no) scan packages (Enhancement #185).
- Support both legacy and new RDF4J repository config vocabulary.
- Dependency update: RDF4J 4.3.4, Jena 4.9.0.
1.0.0
- Add support for disabling inference when loading an entity (e.g., when loaded with disable inference query hint) (Enhancement #144).
- Add API allowing to check whether an attribute value is inferred (Enhancement #141).
- Support multiple inheritance via interfaces in the object model (Enhancement #157).
- Add implementation of static metamodel generator (Feature #79).
- Rework annotation property value storage (Enhancement #175).
- Dependency updates: RDF4J 4.2.3, Jena 4.8.0, OWL API 5.5.0, AspectJ 1.9.17.
Breaking Changes
- Removed deprecated Sesame driver (was replaced by RDF4J driver) (#120).
- Removed deprecated query execution ontology API from EntityManager/Query. Was replaced by a query hint.
- Reworked storage of annotation property values. From now on, String annotation property values are always stored as string.
Previously, JOPA attempted to guess if the value was a URI/IRI by parsing the value, which lead to incorrect handling of values containing:
.
Now, only values of type URI/IRI (or entities) will be stored as individuals/resources. - The same holds for values of
@Properties
-- if the field is declared asMap<String, Set<String>>
, the values will always be stored as strings. To force JOPA to store the values with appropriate type, use typed properties -Map<URI, Set<Object>>
. - Require Java 11 or later.
Update Notes
- RDF4J 4.x dropped support for the SPIN SAIL.
- RDF4J 4.x client is not compatible with 3.x server (and 4.x server with 3.x client). This is due to the changes in the binary protocol used by RDF4J. This affects GraphDB as well - 10.x or later must be used with 4.x RDF4J clients. Based on this comment, it is possible to work around this issue by setting the system property
org.eclipse.rdf4j.rio.binary.format_version
to1
. The following table summarizes the compatibility:
RDF4J Server 3.x, GraphDB 8.x, 9.x | RDF4J Server 4.x, GraphDB 10.x | |
---|---|---|
RDF4J Client 3.x | ✔️ | X (works with GraphDB 10.x) |
RDF4J Client 4.x | X (set org.eclipse.rdf4j.rio.binary.format_version=1 to work around) |
✔️ |
0.22.2
0.22.1
- Allow using SPARQL SELECT queries without WHERE keyword (Bug #165).
- Allow disabling generation of annotation fields and the
Thing
class in OWL2Java (Enhancement #170). - Fix
simpleLiteral=true
not being honored when saving annotation property values (Bug #171). - Fix an issue with parsing SOQL queries containing selection by identifier and attribute value.
- Fix selection by identifier in SPARQL when using the OWLAPI driver (was caused by missing support for VALUES).
0.22.0
- Allow selecting entities by identifier in SOQL/Criteria API (Enhancement #138).
- Extend SOQL/Criteria API with additional functions -
lower
,upper
,length
,abs
,ceil
,floor
(Enhancement #152). - Fix an issue with interaction of lazy loading with inferred-valued attributes (Bug #150).
- Fix a possible NPX when unpersisted empty entity is referenced in another entity's equals/hashCode.