Sorry about that.
The website has some updates to preferred style that relate to the
unreleased 4.3.0. The 4.2.0 style stills works and it should be
RDFConnectionFactory.
4.3.0 has builder pattern provided for RDFConnection, QueryExecution
UpdateProcessor. Queries and updates have substitution of variables for
values to use as templates, local and remote.
https://jena.staged.apache.org/documentation/sparql-apis/#changes
and it changes to use java.net.http for HTTP, with authentication
encapsulation so less of the HTTP choice shows through to applications.
Andy
On 16/11/2021 16:44, Giuseppe Cota wrote:
Dear Jena developers,
there is a serious issue concerning the documentation of RDFConnetion
<https://jena.apache.org/documentation/rdfconnection/>. In particular, in
your documentation you use the method RDFConnection.connect which is
effectively defined in the last version of the code
<https://github.com/apache/jena/blob/main/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnection.java>.
However, in the last release (4.2.0) there is no such method. See code of
version 4.2.0
<https://github.com/apache/jena/blob/jena-4.2.0/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnection.java>.
This is a problem especially when Maven is used.
Best regards,
Giuseppe Cota