Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 84210 invoked from network); 4 Jan 2006 00:42:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jan 2006 00:42:23 -0000 Received: (qmail 97678 invoked by uid 500); 4 Jan 2006 00:42:22 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 97653 invoked by uid 500); 4 Jan 2006 00:42:22 -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 97642 invoked by uid 99); 4 Jan 2006 00:42:22 -0000 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; Tue, 03 Jan 2006 16:42:22 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 7129EE0 for ; Wed, 4 Jan 2006 01:42:01 +0100 (CET) Message-ID: <2061120777.1136335321461.JavaMail.jira@ajax.apache.org> Date: Wed, 4 Jan 2006 01:42:01 +0100 (CET) From: "Martin van den Bemt (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Resolved: (DDLUTILS-26) MySQL drop foreign key In-Reply-To: <2078851746.1129033086860.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DDLUTILS-26?page=all ] Martin van den Bemt resolved DDLUTILS-26: ----------------------------------------- Resolution: Fixed Your fix (with some changes) is in svn now. Mysql integration is currently being tested, so if you hit some issues, please let us know. > MySQL drop foreign key > ---------------------- > > Key: DDLUTILS-26 > URL: http://issues.apache.org/jira/browse/DDLUTILS-26 > Project: DdlUtils > Type: Bug > Reporter: Xavier TROUSSICOT > Assignee: Thomas Dudziak > > The writeExternalForeignKeyDropStmt method needs to be overriden in MySqlBuilder class : > protected void writeExternalForeignKeyDropStmt(Table table, ForeignKey foreignKey) throws IOException > { > writeTableAlterStmt(table); > print("DROP FOREIGN KEY "); > printIdentifier(foreignKey.getName() == null ? getConstraintName(null, table, "FK", getForeignKeyName(foreignKey)) : foreignKey.getName()); > printEndOfStatement(); > } -- 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