Skip to content

Releases: kbss-cvut/jopa

2.0.3

29 Jul 07:39
b2c6d9e
Compare
Choose a tag to compare
  • Fix an issue with generating static metamodel under JDK 21 (Bug #257).
  • Support using URI/URL as data property values (as RDF simple literal) (Enhancement #256).
  • Support target ontology query hint (Enhancement #245).
  • Dependency updates: Jena 5.1.0, RDF4J 5.0.1.

2.0.2

24 Jun 14:47
9e024c7
Compare
Choose a tag to compare
  • Fix a NPX when calling EntityManager.isInferred with lazy loading proxy (Bug #252).
  • Allow using multiple values for a query parameter that is written into SPARQL VALUES clause (Bug #246).
  • Dependency updates: RDF4J 5.0.0.

2.0.1

18 Jun 14:51
5e18493
Compare
Choose a tag to compare
  • Proper implementation of EntityManager.getReference after 2.0.0 rewrite (Enhancement #233).
  • Log JOPA version and build date on persistence unit startup (Enhancement #243).
  • Prevent AssertionError on EntityManager.flush calls (Bug #240).
  • Fix incorrect SOQL to SPARQL translation when traversing reference and using identifier (Bug #234).
  • Fix issues with interaction of lazy loading with cascading (Bug #248).
  • Dependency updates: RDF4J 4.3.12.

2.0.0

27 May 14:14
b551f41
Compare
Choose a tag to compare

This is a big release containing potentially breaking changes.

In summary: AspectJ is no longer needed to build projects using JOPA. Java 17 is the minimum required Java version.

Changes:

  • Rewrote change tracking and lazy loading to not require AspectJ and use generated proxy classes and change calculation on commit (Enhancement #145, #231). See the wiki for details. This should significantly simplify adoption of JOPA in projects.
  • Added support for RDF collections (Enhancement #51).

(Potentially) Breaking changes:

  • Modified generation of classes and constants in OWL2Java, using ontology prefixes to disambiguate terms with the same label (Enhancement #85).
  • Internal APIs were moved from jopa-api to jopa-impl, so that they can be changed without bumping version major (Enhancement #146).
  • Java 17 is now minimum Java version (Task #147).
  • Updated to Jena 5.0.0, RDF4J 4.3.11.
  • Removals of deprecated APIs.
  • EntityManager and EntityManagerFactory are now AutoCloseable (in alignment with JPA).

1.2.2

30 Jan 15:31
ca1036a
Compare
Choose a tag to compare
  • Modify DefaultClasspathScanner to handle Spring Boot nested JAR introduced in 3.2.0 (Bug #227).

1.2.1

22 Jan 12:01
5b51de1
Compare
Choose a tag to compare
  • Unwrap IndirectMultilingualString instances when owner entity is detached from the persistence context.

1.2.0

20 Dec 16:37
a3ee2f3
Compare
Choose a tag to compare
  • 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.

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.