db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Handa (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-31) Statement.setQueryTimeout() support.
Date Fri, 17 Dec 2004 09:45:15 GMT
     [ http://nagoya.apache.org/jira/browse/DERBY-31?page=comments#action_56812 ]
Amit Handa commented on DERBY-31:

One solution can be to check for time(set a flag) when setQueryTimeout() is set.
Every time any executeXXX() method is called, check whether query timed out
with differrence from the present time and the flag set earlier.
If time out throw SQLException else do nothing 

> Statement.setQueryTimeout() support.
> ------------------------------------
>          Key: DERBY-31
>          URL: http://nagoya.apache.org/jira/browse/DERBY-31
>      Project: Derby
>         Type: New Feature
>   Components: JDBC
>  Environment: ALL
>     Reporter: Ali Demir

> Calling Statement.setQueryTimeout() throws exception saying that function is not supported.
This is an important JDBC feature and is limiting our options to use Derby with our JDBC code.
Implementing this JDBC function would make Derby much easier to adopt.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message