You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mamta A. Satoor (JIRA)" <ji...@apache.org> on 2013/07/18 04:38:48 UTC

[jira] [Updated] (DERBY-3076) Statement timeout should throw SQLTimeoutException

     [ https://issues.apache.org/jira/browse/DERBY-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mamta A. Satoor updated DERBY-3076:
-----------------------------------

    Urgency: Low
     Labels: derby_triage10_11  (was: )
    
> 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.1.3
>         Environment: JDBC 4.0 driver
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>              Labels: derby_triage10_11
>         Attachments: timeout.java
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira