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:

Connection.setQueryTimeout(0)

In the above syntax, 0 is passed as the parameter, which means the time-out is set to be indefinite.


Rating:



Other articles

Click here to Article home

MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW Certification: CIW foundation, CIW Professional, Site Designer    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.
 
HACKER SAFE certified sites prevent over 99.9% of hacker crime.