What is the setQueryTimeout() method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the setQueryTimeout() method?
Rating:
The setQueryTimeout() method is used to set the current time-out for query execution. A developer can change the time-out so that a user will be notified after a certain delay if a problem exists. The syntax for setting the time-out is as follows:
In the above syntax, 0 is passed as the parameter, which means the time-out is set to be indefinite.
Rating:
Was this information helpful?
Other articles
- What is the getQueryTimeout() method?
- What is 4NF?
- What is an integrity constraint?
- What is a one-to-one relationship?
- Why does a column in a table have NULL values?
