Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 28660 invoked from network); 16 Dec 2006 00:03:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2006 00:03:43 -0000 Received: (qmail 49353 invoked by uid 500); 16 Dec 2006 00:03:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 49138 invoked by uid 500); 16 Dec 2006 00:03:50 -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 49129 invoked by uid 99); 16 Dec 2006 00:03:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2006 16:03:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2006 16:03:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5447371413D for ; Fri, 15 Dec 2006 16:03:22 -0800 (PST) Message-ID: <99978.1166227402342.JavaMail.jira@brutus> Date: Fri, 15 Dec 2006 16:03:22 -0800 (PST) From: "Daniel John Debrunner (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-378) support for import/export of tables with clob/blob and the other binary data types will be good addition to derby, In-Reply-To: <2043926736.1119304397943.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-378?page=comments#action_12458976 ] Daniel John Debrunner commented on DERBY-378: --------------------------------------------- For reading from a VTI I'm not sure why CLOB and BLOB are not supported. SQLBlob seems to contain the correct code in its setValueFromResultSet(). It might be a hangover from the time the codebase supported JDK 1.1 and java.sql.Blobs were not available. It might be simply the work was never done. What error do you get? For setting BLOB/CLOB into a VTI it might be tricker, since it requires the SQL layer to be able to manufacture a java.sql.Blob object, and since they are JDBC objects the language doesn't handle them. Though it's a simiar problem to BLOBs in triggers/functions and I think at least for triggers it works, so I think there is a mechanism for creating a java.sql.Blob from a BLOB column. and having written that, I thought BLOBs were used in triggers and triggers used VTIs ... > support for import/export of tables with clob/blob and the other binary data types will be good addition to derby, > ----------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-378 > URL: http://issues.apache.org/jira/browse/DERBY-378 > Project: Derby > Issue Type: Improvement > Components: Tools > Affects Versions: 10.1.1.0 > Reporter: Suresh Thalamati > Assigned To: Suresh Thalamati > Attachments: iexlobs.txt > > > Currently if I have a table that contains clob/blob column, import/export operations on that table > throghs unsupported feature exception. > set schema iep; > set schema iep; > create table ntype(a int , ct CLOB(1024)); > create table ntype1(bt BLOB(1024) , a int); > call SYSCS_UTIL.SYSCS_EXPORT_TABLE ('iep', 'ntype' , 'extinout/ntype.dat' , > null, null, null) ; > ERROR XIE0B: Column 'CT' in the table is of type CLOB, it is not supported by th > e import/export feature. -- 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