timeout
timeout
От:
Jie Liang <jliang@ipinc.com>
Дата:
Is ther any to set a timeout when execute a sql stmt?? Jie LIANG St. Bernard Software 10350 Science Center Drive Suite 100, San Diego, CA 92121 Office:(858)320-4873 jliang@ipinc.com www.stbernard.com www.ipinc.com
Re: timeout
От:
Jeremy Buchmann <jeremy@wellsgaming.com>
Дата:
> Is ther any to set a timeout when execute a sql stmt?? I believe this depends on the interface...for example, in JDBC, it is this: Statement s = new Statement(); s.setQueryTimeout(20); // Sets query timeout to 20 seconds. ... I don't know what other interfaces offer timeouts, but that's where you should look to find out. --Jeremy