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

Stimulsoft Reports.JAVA discussion
Post Reply
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

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

Post 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?
Attachments
report executor propertiers.JPG
report executor propertiers.JPG (135.08 KiB) Viewed 1180 times
data source.JPG
data source.JPG (57.62 KiB) Viewed 1180 times
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

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

Post 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.
Post Reply