awoestmann commented on issue #2584: URL: https://github.com/apache/jena/issues/2584#issuecomment-2242282379
> Yes, I was assuming this was inside Fuseki because of the link to https://github.com/apache/jena/issues/1499. Sorry for the confusion there. > Is the TDB2Factory.connectDataset always was same directory path? The path is read from a config file and should not change during the runtime. > > Are you certain that is only gets created once? Depending on what REST framework you are using there's no guarantee that it doesn't create and destroy instances of your REST controller over the lifetime of your server, have you tried adding some logging to verify whether this is the case? > > The REST framework used may be a pertinent detail here. > We are using Spring boot for this application. The dataset is created in the constructor of a `@ApplicationScope` repository class that is injected in the REST-Controller. So i would think that there should only be one instance of the dataset. I will add some logging and try to confirm that there is only a single instance. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
