Skip to content
Success

Changes

Summary

  1. [Enhancement #386] Do not attempt to commit RDF4J connection transaction when in read-only mode. (commit: 76be79c) (details)
  2. [Fix] Fix class cast exception in ReadOnlyUnitOfWork. (commit: f8691ca) (details)
  3. [Perf] Implement new CloningReadOnlyUnitOfWork and use it for read-only EM. (commit: 9024b17) (details)
Commit 76be79cdf769a35466f57baebc65e66a7f8a25f9 by Martin Ledvinka
[Enhancement #386] Do not attempt to commit RDF4J connection transaction when in read-only mode.
(commit: 76be79c)
The file was modifiedontodriver-rdf4j/src/test/java/cz/cvut/kbss/ontodriver/rdf4j/connector/StorageConnectionTest.java (diff)
The file was modifiedontodriver-rdf4j/src/main/java/cz/cvut/kbss/ontodriver/rdf4j/connector/StorageConnection.java (diff)
Commit f8691ca45f1dce69b3d302f4949cc41685bd33a3 by Martin Ledvinka
[Fix] Fix class cast exception in ReadOnlyUnitOfWork.
(commit: f8691ca)
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/sessions/ReadOnlyUnitOfWork.java (diff)
Commit 9024b177a0b78cc581e43457c061ee8c08dc61e4 by Martin Ledvinka
[Perf] Implement new CloningReadOnlyUnitOfWork and use it for read-only EM.

Not using cache (ReadOnlyUnitOfWork) represents too severe a performance penalty, so let's go back to cloning and cache, just don't track or calculate any changes on commit.
(commit: 9024b17)
The file was removedjopa-integration-tests/src/test/java/cz/cvut/kbss/jopa/test/integration/ReadOnlyEntityManagerCacheTest.java
The file was modifiedjopa-impl/src/main/java/cz/cvut/kbss/jopa/sessions/ServerSession.java (diff)
The file was addedjopa-impl/src/main/java/cz/cvut/kbss/jopa/sessions/CloningReadOnlyUnitOfWork.java
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/model/EntityManagerFactoryImplTest.java (diff)
The file was modifiedjopa-impl/src/test/java/cz/cvut/kbss/jopa/sessions/ServerSessionTest.java (diff)