| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> problem with Java's Connection.setQueryTimeout()
Is the timeout really specified in seconds? Or is it milliseconds? I do:
stmt.setQueryTimeout(1);
stmt.executeUpdate ("sql statement ....");
stmt.setQueryTimeout(0);
stmt.close();
and I get an exception from the close:
java.sql.SQLException: ORA-01013: user requested cancel of operation
at OracleStatement.close (OracleStatement.java:1225)
Any clues?
tia
tasos Received on Fri Jul 09 1999 - 13:59:43 CDT
![]() |
![]() |