Skip to content

Releases: kbss-cvut/jopa

1.1.4

25 Oct 07:36
ad66e8f
Compare
Choose a tag to compare
  • Support ignoring removals of inferred values on entity merge into persistence context (Enhancement #189).
  • Dependency updates: RDF4J 4.3.7.

1.1.3

22 Sep 15:48
e2d1841
Compare
Choose a tag to compare
  • 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).

1.1.2

14 Sep 08:54
0f29d62
Compare
Choose a tag to compare
  • 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

23 Aug 12:24
28a9fcb
Compare
Choose a tag to compare
  • 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

28 Jul 06:38
24ab2d9
Compare
Choose a tag to compare
  • 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

29 Jun 15:52
62226dc
Compare
Choose a tag to compare
  • 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 ✔️ 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

22 Jun 12:04
381eb72
Compare
Choose a tag to compare
  • Fix an issue with commutativity of AND in SOQL when selection by entity identifier is used (Bug #178).

0.22.1

07 Jun 13:25
934e249
Compare
Choose a tag to compare
  • 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

26 Apr 11:55
e4c2ad5
Compare
Choose a tag to compare
  • 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.

0.21.1

21 Mar 13:36
aaf0e68
Compare
Choose a tag to compare
  • Allow using generic types as elements in plural attribute values.