Return-Path: Delivered-To: apmail-db-ddlutils-user-archive@www.apache.org Received: (qmail 55674 invoked from network); 18 Dec 2007 03:49:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2007 03:49:18 -0000 Received: (qmail 26391 invoked by uid 500); 18 Dec 2007 03:49:07 -0000 Delivered-To: apmail-db-ddlutils-user-archive@db.apache.org Received: (qmail 26378 invoked by uid 500); 18 Dec 2007 03:49:07 -0000 Mailing-List: contact ddlutils-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-user@db.apache.org Delivered-To: mailing list ddlutils-user@db.apache.org Received: (qmail 26367 invoked by uid 99); 18 Dec 2007 03:49:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2007 19:49:07 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tomdzk@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO py-out-1112.google.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 03:48:45 +0000 Received: by py-out-1112.google.com with SMTP id p76so3545233pyb.5 for ; Mon, 17 Dec 2007 19:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Tagmt5x0aEqgmRPwu+snxEmFCj/pdvNlorNarGCp68E=; b=SzPW3zrB1RXQmgS63fS51UGFJpyTAyL+Y3JrEOVeTGEEn5HrY9oB4wShcc/KVHAD8LfYVME7Ih6WO80maCe1gswJm955UxQbPltCAnJ/1KX3islTfh2DqHup8YksBy/jiM4/ImXuvxvgjq6DdB2ItI+ie8L/HQJJnlzj3EXvi4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UoaTYZ6V8xjYJZOGL4QtcqItxpBTMdI/M9WIsvXidKa+6He00EmRQcLHuf3xnjA0Jfm+sk53lx7jrwOlg9AmrCJXyYjAd0ZwnfcGyo/WECXgkFhGXEBSAhNNmmPjKpBv2s6F62tJ917ts0slEljsswBZ6UuElzmVlWTSAQCPMIo= Received: by 10.64.179.12 with SMTP id b12mr16372777qbf.1.1197949728093; Mon, 17 Dec 2007 19:48:48 -0800 (PST) Received: by 10.65.233.19 with HTTP; Mon, 17 Dec 2007 19:48:48 -0800 (PST) Message-ID: <224f32340712171948o1874545x2d92547052248fc6@mail.gmail.com> Date: Mon, 17 Dec 2007 19:48:48 -0800 From: "Thomas Dudziak" To: ddlutils-user@db.apache.org Subject: Re: Setting tablespace during generating DDLs. In-Reply-To: <996708.95764.qm@web51107.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <996708.95764.qm@web51107.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org On Dec 13, 2007 10:55 PM, Woonsan Ko wrote: > I'd like to set tablespace setting for oracle server during generating ddls with DdlUtils. > Is there any way to do this? DdlUtils does not currently support this for Oracle (but please feel free to file a JIRA issue for this). If you want to add this to your local version right now (rather than wait for DdlUtils to contain this), all you have to do is to override the writeTableCreationStmtEnding method in the Oracle8Builder (or Oracle9Builder or Oracle10Builder, whichever you use and prefer). Have a look at how the SybaseBuilder and MySqlBuilder handle this, it should be relatively straightforward depending on what parameters you need. The creationParameters map is filled directly from the Ant task's parameter elements (see http://db.apache.org/ddlutils/ant/org.apache.ddlutils.task.CreateDatabaseCommand.html). Tom