Page 1 of 1

Timeout configuration in the report executor, which will be valid?

Posted: Tue Dec 14, 2021 2:10 pm
by Manuel Costa
Good morning, I have a question, I noticed the following scenario in the report's data source there is an option that would be "query timeout" and in the settings of my Report executor, in propertiers the timeout was set at a time of 30000, this time would it be in milliseconds? Attached is an image showing how it is configured.

My question is:

How does this query time limit work on the data source?

For example in the report executor.propertiers file, I set the timeout time to a maximum of 30000 millisecond, now I go to the report's data source and change the timeout to 40 seconds, when I run the report the timeout goes value is the setting in the report executor.propertiers or the "query timeout" field of the data source?

Re: Timeout configuration in the report executor, which will be valid?

Posted: Thu Dec 16, 2021 11:10 am
by Vadim
Hello.

If the "query timeout" field of the data source greater then 0 than Stimulsoft libs in java.sql.PreparedStatement setup field setQueryTimeout() otherwise QueryTimeout will not changed.