Hi, after a bit of struggling with Maven I'm now able to run an application using an embedded Stardog.
Now I'd like to attach a transaction listener to it.
I see there is a good example here: stardog-examples/examples/connectable at develop · stardog-union/stardog-examples · GitHub however I cannot understand how to attach the listener to the embedded instance of Stardog I just created. I see the example uses a guice to inject the the listener but the missing part is how to use the injector configured with this module: ExampleModule.java.
Should the injector configured with that module return a Connection, an AdminConnection?
Do you have a simple two-liners to show how to use it?
BTW the link to " 9. Transaction Listener" in List of Examples here GitHub - stardog-union/stardog-examples: Examples for working with and extending Stardog is wrong (404).