db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-3076) Statement timeout should throw SQLTimeoutException
Date Thu, 18 Jul 2013 02:38:48 GMT

     [ 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

Mime
View raw message