Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 32889 invoked from network); 12 Jul 2006 18:05:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2006 18:05:00 -0000 Received: (qmail 71067 invoked by uid 500); 12 Jul 2006 18:04:59 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 71039 invoked by uid 500); 12 Jul 2006 18:04:59 -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 71030 invoked by uid 99); 12 Jul 2006 18:04:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 11:04:59 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rmoazeni@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 11:04:58 -0700 Received: by nf-out-0910.google.com with SMTP id n15so123557nfc for ; Wed, 12 Jul 2006 11:04:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kTcYTDFpU78IMJCJjV8b5EkygG6YZSVgXXngF42RqmTx8na0F/Sm1e/JfmgDEIZp5KoGpN1i+/KysYEtn3qe2ff3HY0FdBRn9ZtG1+ypqHimuUSqqx1mlRdHSzpsvzeZvvBKeSsnWmYd8kcO5c7Gm7CHD47Vbj/aoycpQTcxKAg= Received: by 10.78.178.5 with SMTP id a5mr181178huf; Wed, 12 Jul 2006 11:04:36 -0700 (PDT) Received: by 10.78.23.10 with HTTP; Wed, 12 Jul 2006 11:04:36 -0700 (PDT) Message-ID: <926963240607121104tdf7d7b2scf3502cdafc58475@mail.gmail.com> Date: Wed, 12 Jul 2006 11:04:36 -0700 From: "Ramin Moazeni" To: derby-dev@db.apache.org Subject: Re: Google SOC:MySQL to Derby Migration tool design question In-Reply-To: <44B41588.6060806@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <926963240607111046p8103d89u84fa785fe957d272@mail.gmail.com> <44B41588.6060806@sun.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi David I do not believe the split will be exposed to the normal user. However, in case of an error, the user might have to follow two different paths to fix the problem. For example, modifying xml files for ddlutils component and modifying sql statements for the DatabaseMetadata approach. I hope I answered your question Thanks, Ramin On 7/11/06, David Van Couvering wrote: > If this is the simplest approach in terms of design and code re-use it > sounds good to me, *as long as* the user doesn't have this split exposed > to him/her, and instead sees one seamless tool and user experience. > > In particular, if Things Go Wrong, what is the user flow/experience -- > how does the user back things out, figure out what went wrong, etc. > Does this approach complicate error determination and recovery? > > Thanks, > > David > > Ramin Moazeni wrote: > > Hello > > > > As per my earlier post regarding the design document for MySQL to > > Derby Migration tool located at > > http://wiki.apache.org/db-derby/MysqlDerbyMigration/DesignDocument, I > > proposed two approches: 1) based on the use of DatabaseMetaData and 2) > > using DdlUtils tool. > > > > The DdlUtils tool seems not be capable of migrating views, CHECK > > constraints, and stored procedures. I would like to know what do you > > think if DdlUtils tool can be reused for migrating the tables and > > Indexes, and use the DatabaseMetadata for migrating views and stored > > procedures? ..... > > > > Your comments are appreciated..... > > > > Thanks > > Ramin Moazeni >