Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 86131 invoked from network); 30 Mar 2006 11:59:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Mar 2006 11:59:50 -0000 Received: (qmail 85720 invoked by uid 500); 30 Mar 2006 11:59:49 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 85492 invoked by uid 500); 30 Mar 2006 11:59:49 -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 85483 invoked by uid 99); 30 Mar 2006 11:59:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 03:59:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 03:59:48 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 69DB86ACB3 for ; Thu, 30 Mar 2006 12:59:27 +0100 (BST) Message-ID: <329316246.1143719967431.JavaMail.jira@ajax> Date: Thu, 30 Mar 2006 12:59:27 +0100 (BST) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1147) Implement miscellaneous CallableStatement methods added by JDBC4 In-Reply-To: <750783228.1143160399655.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1147?page=all ] Kristian Waagan updated DERBY-1147: ----------------------------------- Attachment: derby-1147-1a-missing-methods.diff derby-1147-1a-missing-methods.stat 'derby-1147-1a-missing-methods.diff' adds the missing methods for CallableStatement, on both embedded and client side. All new methods throw SQLFeatureNotSupported exceptions (via Util.notImplemented or SQLExceptionFactory.notImplemented), except for those in BrokeredCallableStatement40. The old jdbc4 test has been rewritten to a JUnit test, and some new tests have been added. The test is run as part of the jdbc40 suite. I am a bit unsure about the JavaDoc. Should I add some, or is it the doc for the interface used? The patch is ready for review and commit. Another patch will be submitted to implement the methods getCharacterStream, setBlob and setClob. > Implement miscellaneous CallableStatement methods added by JDBC4 > ---------------------------------------------------------------- > > Key: DERBY-1147 > URL: http://issues.apache.org/jira/browse/DERBY-1147 > Project: Derby > Type: Improvement > Components: JDBC > Versions: 10.2.0.0 > Reporter: Rick Hillegas > Assignee: Kristian Waagan > Attachments: derby-1147-1a-missing-methods.diff, derby-1147-1a-missing-methods.stat > > These are described in the overview section 3.1 of the JDBC4 spec: > "Added the methods getRowId, setRowId, getNClob, getNString, > getCharacterStream, getNCharacterStream, setNString, > setNCharacterStream, setNClob, getSQLXML, setSQLXML. > Overloaded the setClob and setBlob methods." > Most of these methods will throw SQLFeatureNotSupporteException because our client drivers do not support the ROWID, National String, and XML datatypes. However, we should implement the getCharacterStream() method and the setClob() and setBlob() overloads. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira