[EMAIL PROTECTED] wrote: ... > Class.forName( "org.blackdown.jdbc.AnyOldDriver" ); > Connection con = DriverManager.getConnection( url, username, password ); > Statement stmt = con.createStatement( "select * from JDK_RELEASES" ); > > stmt.executeQuery(); // One atomic call with no way to run to !!! > I have a spawn threads to execute the above SQL query and then allowed to > operator to kill the thread if the query was slow. Can stmt.setQueryTimeout(someTimeout) help you? Your software could even compute different timeouts depending on expected query complexity. Pavel
- Deprecated `Thread.stop()' in forthcoming JDK 1.2. ... peter . pilgrim
- Re: Deprecated `Thread.stop()' in forthcoming J... Pavel Tolkachev
- Re: Deprecated `Thread.stop()' in forthcomi... Daniel W. Dulitz x108
- Re: Deprecated `Thread.stop()' in forthcoming J... David Young
- RE: Deprecated `Thread.stop()' in forthcoming J... Harold G. Andrews II
- Re: Deprecated `Thread.stop()' in forthcoming J... Michael Sinz
- Re: Deprecated `Thread.stop()' in forthcomi... peter . pilgrim
- Re: Deprecated `Thread.stop()' in forth... Pavel Tolkachev
- Re: Deprecated `Thread.stop()' in f... peter . pilgrim
- Re: Deprecated `Thread.stop()'... peter . pilgrim
- Re: Deprecated `Thread.stop()' in forthcoming J... David Wall
- Re: Deprecated `Thread.stop()' in forthcomi... Nelson Minar
- Re: Deprecated `Thread.stop()' in forthcomi... Steve Byrne
- Re: Deprecated `Thread.stop()' in forth... Albert Y.C. Lai
- Re: Deprecated `Thread.stop()' in f... Pavel Tolkachev
- Re: Deprecated `Thread.stop()' in f... peter . pilgrim
- Re: Deprecated `Thread.stop()' in forthcoming J... Michael Sinz
- Re: Deprecated `Thread.stop()' in forthcomi... Nelson Minar