db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-3076) Statement timeout should throw SQLTimeoutException
Date Fri, 14 Sep 2007 12:51:32 GMT
Statement timeout should throw SQLTimeoutException
--------------------------------------------------

                 Key: DERBY-3076
                 URL: https://issues.apache.org/jira/browse/DERBY-3076
             Project: Derby
          Issue Type: Improvement
          Components: JDBC
    Affects Versions: 10.4.0.0
         Environment: JDBC 4.0 driver
            Reporter: Knut Anders Hatlen
            Priority: Minor


When a query times out (because Statement.setQueryTimeout() has been called), a plain SQLException
is thrown. JDBC 4.0 defines a sub-class SQLTimeoutException for these errors. Derby should
throw SQLTimeoutException if such timeouts occur.

>From SQLTimeoutException's javadoc:

> The subclass of SQLException thrown when the timeout specified by Statement  has expired.
>
> This exception does not correspond to a standard SQLState.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message