Also #3:
Since DbAdapter serves as SQLAction factory for the entire stack, you may
install a Statement timeout-aware custom DbAdapter. There are also a few levels
of indirection to do that. I think the simplest is to create a custom Module
[1] like this:
public class MyModule implements
> On Jun 20, 2019, at 10:33 AM, zhengyan wrote:
>
> Hi, I'm using the Cayenne3.1.2 version .
> I want to set the QueryTimeout parameter , like the parameter in
> JDBC setQueryTimeout(5);
> Where I can set this parameter in Cayenne3.1.2?
>
> Thanks !
Hi,
Unfortunately there's no direct way
Hi, I'm using the Cayenne3.1.2 version .
I want to set the QueryTimeout parameter , like the parameter in
JDBC setQueryTimeout(5);
Where I can set this parameter in Cayenne3.1.2?
Thanks !