Skip to content

Releases: kbss-cvut/jopa

0.21.0

06 Mar 11:22
071ad8e
Compare
Choose a tag to compare
  • Support for mapping Java enums to ontological individuals (owl:ObjectOneOf) (Feature #60).
  • Support for mapping Java enums via ordinals or strings (Enhancement #134).

See the Wiki for details on enum mapping.

0.20.2

23 Feb 15:27
c6bcd20
Compare
Choose a tag to compare
  • Support automatic conversion of language-less strings to LangString attributes.
  • Support using LangString as query parameters.
  • Support joining over plural attributes in SOQL/Criteria API (Bug #135).
  • Implement stricter cleanup after EMF close (Enhancement #136).

0.20.1

23 Feb 13:37
1f5331c
Compare
Choose a tag to compare
  • Allow building a restricted metamodel from a set of entity classes (will be used by static metamodel generator).

0.20.0

27 Jan 11:57
f9641aa
Compare
Choose a tag to compare
  • Allow editing inferred attributes (see Wiki for details) (Feature #121).
  • Support for IN, NOT LIKE, <> (!=) operators in SOQL (and the corresponding operators in Criteria API). (Enhancement #123, #129).

0.19.3

13 Dec 13:38
Compare
Choose a tag to compare
  • Allow excluding @OWLClass annotated classes from persistence by using NonEntity (Enhancement #124).
  • Update dependencies: SF4J 2.0.6, Logback 1.3.5, Mockito 4.9.0.

0.19.2

10 Nov 17:12
Compare
Choose a tag to compare
  • Fix issues in working with LocalTime values.

0.19.1

08 Nov 15:07
Compare
Choose a tag to compare
  • Fix issues in working with BigInteger and BigDecimal values.
  • Fix a warning about illegal reflective operations on newer JDKs.

0.19.0

26 Oct 08:40
Compare
Choose a tag to compare
  • Add support for disabling inference via query hints (Enhancement #101).
  • Allow registering custom attribute converters (Enhancement #118).
  • Add RDF4J driver, deprecate Sesame driver (Task #75).
  • Dependency updates: SLF4J 2.0.3, Logback 1.3.4.

Both query hints and custom attribute converters are covered by the Wiki documentation.

Upgrade Notes

The Sesame driver (artifactId ontodriver-sesame) has been deprecated. Its usage should be replaced by the new RDF4J driver (artifactId ontodriver-rdf4j). It is currently functionally almost equivalent to the Sesame driver (with the exception of support for disabling inference for query execution). However, further development will focus on the new driver, so it is highly recommended to migrate to it.

To migrate, do the following:

1. Maven

Replace

<dependency>
  <groupId>cz.cvut.kbss.jopa</groupId>
  <artifactId>ontodriver-sesame</artifactId>
</dependency>

With

<dependency>
  <groupId>cz.cvut.kbss.jopa</groupId>
  <artifactId>ontodriver-rdf4j</artifactId>
</dependency>

2. Java

Replace the following class references

  1. cz.cvut.kbss.ontodriver.sesame.SesameDataSource -> cz.cvut.kbss.ontodriver.rdf4j.Rdf4jDataSource

And the following properties:

  1. cz.cvut.kbss.ontodriver.sesame.use-volatile-storage -> cz.cvut.kbss.ontodriver.rdf4j.use-volatile-storage
  2. cz.cvut.kbss.ontodriver.sesame.use-inference -> cz.cvut.kbss.ontodriver.rdf4j.use-inference
  3. cz.cvut.kbss.ontodriver.sesame.load-all-threshold -> cz.cvut.kbss.ontodriver.rdf4j.load-all-threshold
  4. cz.cvut.kbss.ontodriver.sesame.repository-config -> cz.cvut.kbss.ontodriver.rdf4j.repository-config
  5. cz.cvut.kbss.ontodriver.sesame.reconnect-attempts -> cz.cvut.kbss.ontodriver.rdf4j.reconnect-attempts
  6. cz.cvut.kbss.ontodriver.sesame.inference-in-default-context -> cz.cvut.kbss.ontodriver.rdf4j.inference-in-default-context

or switch from the SesameOntoDriverProperties constants to Rdf4jOntoDriverProperties constants (note that they do not have the SESAME_ prefix).

0.18.7

31 Aug 13:13
Compare
Choose a tag to compare
  • Fix support for custom datatypes in Jena driver (Bug #113).
  • Fix mapping enums to simple literals (Bug #111).
  • Fix an issue with double-wrapped indirect collections when cloning singleton Maps (Bug #114).
  • Dependency updates: RDF4J 3.7.7

0.18.6

09 May 14:04
Compare
Choose a tag to compare
  • Automatically resolve inferred statements contexts for GraphDB (Enhancement #106).
  • Allow configuring Sesame driver to load inferred statements from the default context (See wiki for details).
  • Move supported identifier types constants from jopa-impl to jopa-api module.