Register / Login
Win a copy of
Clojure in Action
this week in the
JDBC and Relational Databases
posted 9 years ago
I used java.sql.Statement's setQueryTimeout() in Oracle,DB2 and Sybase.
The setQueryTimeout() works fine only for stored procedures.But, for executeUpdate(),executeBatch() and executeQuery() works sometimes.But,does not timeout other times.
Could anyone please let me know
1. Why it works for stored procedures?
2. Why setQueryTimeOut() does not work as expected for executeUpdate,executeBatch() and executeQuery() ALWAYS?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
JDBC to DB2 Mainframe - query timeout
setQuerytimeout in CallableStatement not working. Kindly please help
Why Statemet interface is not Deprecated ?
how to get the next sequence number ..