Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 86470 invoked from network); 15 Mar 2011 08:13:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Mar 2011 08:13:39 -0000 Received: (qmail 8832 invoked by uid 500); 15 Mar 2011 08:13:38 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 8787 invoked by uid 500); 15 Mar 2011 08:13:38 -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 8780 invoked by uid 99); 15 Mar 2011 08:13:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2011 08:13:37 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [148.87.113.121] (HELO rcsinet10.oracle.com) (148.87.113.121) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2011 08:13:29 +0000 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p2F8D7V1008428 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Mar 2011 08:13:08 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p2F8D6DS002790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 15 Mar 2011 08:13:06 GMT Received: from abhmt007.oracle.com (abhmt007.oracle.com [141.146.116.16]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p2F8D5nO016197 for ; Tue, 15 Mar 2011 03:13:06 -0500 Received: from [192.168.0.3] (/84.215.146.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 15 Mar 2011 01:13:05 -0700 Message-ID: <4D7F1F8C.5040904@oracle.com> Date: Tue, 15 Mar 2011 09:13:00 +0100 From: Kristian Waagan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; nb-NO; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: buddy testing for JDBC 4.1 References: <66576.70363.qm@web65714.mail.ac4.yahoo.com> In-Reply-To: <66576.70363.qm@web65714.mail.ac4.yahoo.com> Content-Type: multipart/alternative; boundary="------------030607090100000706030906" X-Source-IP: acsmt357.oracle.com [141.146.40.157] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4D7F1F92.01A8,ss=1,fgs=0 This is a multi-part message in MIME format. --------------030607090100000706030906 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Den 14.03.2011 19:25, skrev Lily Wei: > > Hi: > > I have a question about JDBC 4.1 > CallableStatement.getObject(String.Classas). > > Does this already implement for > org.apache.derby.client.am.CallableStatement40? > > I was testing against CallableStatement40.getObject(string colName, > Date.class) > > and get an exception: org.apache.derby.client.am.SqlException: JDBC > method is not yet implemented. > Hi Lily, This is as expected, see http://wiki.apache.org/db-derby/JDBCSupport : Derby does not support named parameters for CallableStatement. I don't know if there already is a JIRA tracking this or not. Regards, -- Kristian > Should I fire a JIRA issue for this? > > This seems to confirm by line in > CallableStatementTest.vetCoercionError line 614: > > > > // String overloads not implemented for CallableStatements > > if ( wrapper.getWrappedObject() instanceof > CallableStatement ) { return; } > > try { > > wrapper.getObject( colName, candidate ); > > fail( "Did not expect to get a " + candidate.getName() ); > > } > > catch (SQLException e) > > { > > } > > > Thanks, > > Lily > > ------------------------------------------------------------------------ > *From:* Lily Wei > *To:* derby-dev@db.apache.org > *Cc:* lilywei@yahoo.com > *Sent:* Fri, March 4, 2011 5:09:23 PM > *Subject:* buddy testing for JDBC 4.1 > > Hi There: > > I am interested to do buddy testing for JDBC 4.1 for the 10.8 > release candidate. > > In order to do this, I am assuming I need to have JDBC 4.1 spec or > spec that relate to > > what Derby implement for 10.8 release. On top of that, I think I need > to get an OpenJDK 7 binary distribution for Windows 7? Where can I get > that? > > Thanks, > > Lily > > --------------030607090100000706030906 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Den 14.03.2011 19:25, skrev Lily Wei:

Hi:

    I have a question about JDBC 4.1 CallableStatement.getObject(String.Classas).

Does this already implement for org.apache.derby.client.am.CallableStatement40?

I was testing against CallableStatement40.getObject(string colName, Date.class)

and get an exception: org.apache.derby.client.am.SqlException: JDBC method is not yet implemented.


Hi Lily,

This is as expected, see http://wiki.apache.org/db-derby/JDBCSupport :
Derby does not support named parameters for CallableStatement.

I don't know if there already is a JIRA tracking this or not.


Regards,
--
Kristian

 

    Should I fire a JIRA issue for this? 

 

    This seems to confirm by line in CallableStatementTest.vetCoercionError line 614:



            // String overloads not implemented for CallableStatements

            if ( wrapper.getWrappedObject() instanceof CallableStatement ) { return; }

            

            try {

                wrapper.getObject( colName, candidate );

                fail( "Did not expect to get a " + candidate.getName() );

            }

            catch (SQLException e)

            {

            }


Thanks,

Lily


From: Lily Wei <lilyweiderby@gmail.com>
To: derby-dev@db.apache.org
Cc: lilywei@yahoo.com
Sent: Fri, March 4, 2011 5:09:23 PM
Subject: buddy testing for JDBC 4.1

Hi There:

    I am interested to do buddy testing for JDBC 4.1 for the 10.8 release candidate. 

In order to do this, I am assuming I need to have JDBC 4.1 spec or spec that relate to

what Derby implement for 10.8 release. On top of that, I think I need to get an OpenJDK 7 binary distribution for Windows 7? Where can I get that?

 

 

Thanks,

Lily



--------------030607090100000706030906--