Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 98658 invoked from network); 14 Jun 2006 15:53:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2006 15:53:44 -0000 Received: (qmail 85760 invoked by uid 500); 14 Jun 2006 15:53:44 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 85733 invoked by uid 500); 14 Jun 2006 15:53:44 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 85722 invoked by uid 99); 14 Jun 2006 15:53:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 08:53:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jun 2006 08:53:43 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3122B71429F for ; Wed, 14 Jun 2006 15:52:30 +0000 (GMT) Message-ID: <33485686.1150300350183.JavaMail.jira@brutus> Date: Wed, 14 Jun 2006 15:52:30 +0000 (GMT+00:00) From: "Guy Davis (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Commented: (DDLUTILS-100) WriteDataToFile command not handling BLOBs correctly In-Reply-To: <1888452.1145497055063.JavaMail.jira@brutus> 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/DDLUTILS-100?page=comments#action_12416221 ] Guy Davis commented on DDLUTILS-100: ------------------------------------ I just did a full update of the latest DDLUtils source from SVN. I had to resolve a conflict in org.apache.commons.codec.binary.Base64.ByteArrayBase64Converter with my patch as recent changes had been made here. I resolved the conflict, but couldn't help but notice that you're encoding in the convertFromString() and decoding in convertToString(). This seems backwards. I have this corrected in my previous patch which works great for us with our BLOB columns in Oracle 10g databases. > WriteDataToFile command not handling BLOBs correctly > ---------------------------------------------------- > > Key: DDLUTILS-100 > URL: http://issues.apache.org/jira/browse/DDLUTILS-100 > Project: DdlUtils > Type: Bug > Components: Ant Tasks > Environment: Win XP SP2 > Java 1.5.0_06 > Oracle 10g EE > Reporter: Guy Davis > Assignee: Thomas Dudziak > Priority: Minor > Attachments: blob.patch > > We recently added a table with a BLOB column to our application. We use DDLUtils for dumping the schema and data to XML, versioning the XML files, and also loading back into clean databases. Unfortunately, the dump for the BLOB table just called toString() on the BLOB object itself which meant the BLOB data was lost. -- 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