Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 24073 invoked from network); 4 May 2006 17:02:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 May 2006 17:02:01 -0000 Received: (qmail 96179 invoked by uid 500); 4 May 2006 17:01:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 96122 invoked by uid 500); 4 May 2006 17:01:54 -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: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 96081 invoked by uid 99); 4 May 2006 17:01:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2006 10:01:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.31] (HELO brmea-mail-1.sun.com) (192.18.98.31) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2006 10:01:52 -0700 Received: from fe-amer-05.sun.com ([192.18.108.179]) by brmea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id k44H1VSX002605 for ; Thu, 4 May 2006 11:01:31 -0600 (MDT) Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0IYR0000133LT100@mail-amer.sun.com> (original mail from Lance.Andersen@Sun.COM) for derby-dev@db.apache.org; Thu, 04 May 2006 11:01:31 -0600 (MDT) Received: from [129.150.67.51] by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0IYR00LG43AIFGL5@mail-amer.sun.com> for derby-dev@db.apache.org; Thu, 04 May 2006 11:01:31 -0600 (MDT) Date: Thu, 04 May 2006 13:01:34 -0400 From: "Lance J. Andersen" Subject: Re: [jira] Commented: (DERBY-1288) Bring Derby into JDBC compliance by supporting executeQuery() on escaped procedure invocations In-reply-to: <22600630.1146761904203.JavaMail.jira@brutus> Sender: Lance.Andersen@Sun.COM To: derby-dev@db.apache.org Message-id: <445A336E.8090006@sun.com> MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_LDHV5xIK2H5Yhe8opDVM/g)" References: <22600630.1146761904203.JavaMail.jira@brutus> User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --Boundary_(ID_LDHV5xIK2H5Yhe8opDVM/g) Content-type: text/plain; format=flowed; charset=UTF-8 Content-transfer-encoding: 7BIT Daniel John Debrunner (JIRA) wrote: > [ http://issues.apache.org/jira/browse/DERBY-1288?page=comments#action_12377843 ] > > Daniel John Debrunner commented on DERBY-1288: > ---------------------------------------------- > > What's the required behavior when a update count or multiple result sets are returned? > the expected behavior would be no different then what u do a Statement object today > If multiple result sets are returned when should any error be thrown, before the execution starts or once the system detects that multiple result sets are returned? > This would probably be implementation defined depending on the mechanism being used. > A lot of existing discussion has been in DERBY-501 > > >> Bring Derby into JDBC compliance by supporting executeQuery() on escaped procedure invocations >> ---------------------------------------------------------------------------------------------- >> >> Key: DERBY-1288 >> URL: http://issues.apache.org/jira/browse/DERBY-1288 >> Project: Derby >> Type: Improvement >> > > >> Components: JDBC >> Versions: 10.2.0.0 >> Reporter: Rick Hillegas >> Fix For: 10.2.0.0 >> > > >> The following statement raises an error in Derby: >> statement.executeQuery( "{call foo()}" ); >> although this statement works: >> statement.executeUpdate( "{call foo()}" ); >> According to section 6.4 of the latest draft of the JDBC4 Compliance chapter, both statements are supposed to work in order to claim Java EE JDBC Compliance. >> We need to bring Derby into compliance by supporting executeQuery() on escaped procedure invocations. >> > > --Boundary_(ID_LDHV5xIK2H5Yhe8opDVM/g) Content-type: text/html; charset=UTF-8 Content-transfer-encoding: 7BIT

Daniel John Debrunner (JIRA) wrote:
    [ http://issues.apache.org/jira/browse/DERBY-1288?page=comments#action_12377843 ] 

Daniel John Debrunner commented on DERBY-1288:
----------------------------------------------

What's the required behavior when a update count or multiple result sets are returned?
  
the expected behavior would be no different then what u do a Statement object today
If multiple result sets are returned when should any error be thrown, before the execution starts or once the system detects that multiple result sets are returned?
  
This would probably be implementation defined depending on the mechanism being used.
A lot of existing discussion has been in DERBY-501

  
Bring Derby into JDBC compliance by supporting executeQuery() on escaped procedure invocations
----------------------------------------------------------------------------------------------

         Key: DERBY-1288
         URL: http://issues.apache.org/jira/browse/DERBY-1288
     Project: Derby
        Type: Improvement
    

  
  Components: JDBC
    Versions: 10.2.0.0
    Reporter: Rick Hillegas
     Fix For: 10.2.0.0
    

  
The following statement raises an error in Derby:
  statement.executeQuery( "{call foo()}" );
although this statement works:
  statement.executeUpdate( "{call foo()}" );
According to section 6.4 of the latest draft of the JDBC4 Compliance chapter, both statements are supposed to work in order to claim Java EE JDBC Compliance.
We need to bring Derby into compliance by supporting executeQuery() on escaped procedure invocations.
    

  
--Boundary_(ID_LDHV5xIK2H5Yhe8opDVM/g)--