Jopa Versions Save

Java OWL Persistence API

v1.2.2

3 months ago
  • Modify DefaultClasspathScanner to handle Spring Boot nested JAR introduced in 3.2.0 (Bug #227).

v1.2.1

3 months ago
  • Unwrap IndirectMultilingualString instances when owner entity is detached from the persistence context.

v1.2.0

4 months ago
  • Support data properties for referenced list values (Enhancement #209).
  • Support using multilingual string as referenced list values (Enhancement #216).
  • Fix inconsistent license information (GH #214).
  • Dependency updates: Jena 4.10.0, RDF4J 4.3.8.

v1.1.4

6 months ago
  • Support ignoring removals of inferred values on entity merge into persistence context (Enhancement #189).
  • Dependency updates: RDF4J 4.3.7.

v1.1.3

7 months ago
  • Fix a transaction isolation issue. Now when multiple transactions edit the same data, the one that commits last wins (same behavior as JPA, Bug #202).
  • Fix an issue with missing interpretation of prefixes in the @Sequence annotation values (Bug #204).

v1.1.2

8 months ago
  • 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.

v1.1.1

8 months ago
  • 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.

v1.1.0

9 months ago
  • 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.

v1.0.0

10 months ago
  • 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 as Map<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 to 1. 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 :heavy_check_mark: X (works with GraphDB 10.x)
RDF4J Client 4.x X (set org.eclipse.rdf4j.rio.binary.format_version=1 to work around) :heavy_check_mark:

v0.22.2

10 months ago
  • Fix an issue with commutativity of AND in SOQL when selection by entity identifier is used (Bug #178).