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: https://github.com/stardog-union/stardog-examples/tree/develop/examples/connectable 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 https://github.com/stardog-union/stardog-examples is wrong (404).