Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 401 invoked from network); 17 Dec 2004 12:34:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Dec 2004 12:34:24 -0000 Received: (qmail 87825 invoked by uid 500); 17 Dec 2004 12:34:23 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 87800 invoked by uid 500); 17 Dec 2004 12:34:23 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 87783 invoked by uid 99); 17 Dec 2004 12:34:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 17 Dec 2004 04:32:21 -0800 Received: (qmail 20756 invoked from network); 17 Dec 2004 09:45:15 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 17 Dec 2004 09:45:15 -0000 Message-ID: <450580789.1103276715210.JavaMail.apache@nagoya> Date: Fri, 17 Dec 2004 01:45:15 -0800 (PST) From: "Amit Handa (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-31) Statement.setQueryTimeout() support. In-Reply-To: <1366568654.1096916132120.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ 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: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira