On 07/05/12 13:32, Tayfun Gökmen Halaç wrote:
...
I have the configuration below in my config.ttl file.
org.joseki.DatasetDesc creates two datasets for this configuration.
<#voidstore> rdf:type sdb:DatasetStore ;
joseki:poolSize 2 ;
sdb:store<#sdbvoidstore> .
If I understand correctly, these two datasets have two different
connections on mysql. But, if I send a query periodically to the
endpoint, I can only keep only one connection alive. Thus, I need to
configure no connection pool for DatasetStore. Am I right?
Tayfun,
Looking att he SDb codebase, I see that there is sdb:poolSize. The
vocabulary, assembler and SDBConnectionDesc parts appear to be done.
What's missing is something in SDBConnectionFactory to create a pool
(using dbcp, ideally).
Would you be able to turn your code into patch for SDB and contribute to
the project? (create a JIRA, attach file, click the "relicense" flag).
Andy