Search code examples
configurationtimeoutprepared-statementinfinispan

How to set query timeout using string-keyed-jdbc-store cache


I want to set the time-out when a java.sql.Statement or PreparedStatement is used to retrieve a cached object from the datastore.

In the docs I cannot find any technique to add this setting using the xml.

Can someone point me in the right direction ?

Regards, Jeremy

ISPN: 9.4.15.Final


Solution

  • this is not currently possible. I've created https://issues.redhat.com/browse/ISPN-12825 and a pull request. It should be available in Infinispan 12.1.